Click or drag to resize

PersistentSettingsConverterTryParseStringDictionary Method

Attempts to convert a string to a key value string pair array.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static bool TryParseStringDictionary(
	string s,
	out KeyValuePair<string, string>[] value


Type: SystemString
String to parse
Type: System.Collections.GenericKeyValuePairString, String
Result will get copied here, if the string is null or empty then this will be an empty array, if there was an error parsing then this will be null otherwise it will be the string parsed as a key value string pair array.

Return Value

Type: Boolean
Returns true if the string is not empty and properly formatted as a key value string pair list otherwise returns false.
See Also