Method ExtractKeyAndSubKey
ExtractKeyAndSubKey(Object, out String, out String)
Extracts main and subobject keys if properly formatted
Declaration
public static bool ExtractKeyAndSubKey(object keyObj, out string mainKey, out string subKey)
Parameters
Type | Name | Description |
---|---|---|
Object | keyObj | The key as an object. |
String | mainKey | The key of the main asset. This will be set to null if a sub key is not found. |
String | subKey | The key of the sub object. This will be set to null if not found. |
Returns
Type | Description |
---|---|
Boolean | Returns true if properly formatted keys are extracted. |