Dictionary of Arrays – retrieving array elements

I have a dictionary with string keys and values that are arrays of type string.
When retrieving values how do I cast them as string arrays?

for each key as string in g_FolderStructureDictionary.keys
  for each list as variant in g_FolderStructureDictionary
    
    *< I'd like to loop through the 'list' (which is an array of strings)>*
    
  next
next

Thanks!

I cant read that code in dark mode so I’m posting without tags so you can

for each key as string in g_FolderStructureDictionary.keys
dim theLIst() as string = g_FolderStructureDictionary.Value(key)
// now iterate through theList
next

Thank you.

I wrote about this on my blog some time ago

Thanks – I’ll have to check that out.
Much obliged.