Method FindKeyId
FindKeyId(string, bool)
Returns the key with the matching name from the SharedTableData, if one exists.
Declaration
protected long FindKeyId(string key, bool addKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key to search for. |
| bool | addKey | Should a new key be added if one can not be found? |
Returns
| Type | Description |
|---|---|
| long | The found key or null if one could not be found. |
Exceptions
| Type | Condition |
|---|---|
| Exception | Thrown if the SharedTableData is null. |