J
james
I wrote values to the registry in a "MultiString" registry type. I now want
to retrieve these into a string array.
I use this:
String[] LoadedObject = SUBKEY.GetValue(KeyNames.ToString())
but this gives an error "Cannot implicitly convert type 'object' to
'string[]'. Which is fine, but what do I do?
Googling, I saw this:
= (string[])<object>.ToArray(typeof(string));
but my object (the getvalue) bit doesn't seem to offer "ToArray".
James.
to retrieve these into a string array.
I use this:
String[] LoadedObject = SUBKEY.GetValue(KeyNames.ToString())
but this gives an error "Cannot implicitly convert type 'object' to
'string[]'. Which is fine, but what do I do?
Googling, I saw this:
= (string[])<object>.ToArray(typeof(string));
but my object (the getvalue) bit doesn't seem to offer "ToArray".
James.