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 |
---|---|
bool | Returns true if properly formatted keys are extracted. |