I have a collection with DictionaryEntires. The below code enumerates all of the values as long as they are strings. How can it be modified so it does not throw and error when it runs across other vaule types like binary()?
vb.net 2008 Express Code:
For Each tKey As DictionaryEntry In Result0.Properties() TBoxOutput.AppendText(tKey.Key.ToString() & vbNewLine) For Each mystring As String In tKey.Value TBoxOutput.AppendText(mystring & vbNewLine) Next
PS: I will not know what the contents of the DictionaryEntry will be.
ty for reading and thinking
windowwasher80




Reply With Quote