Method GetId
GetId(string)
Get the unique Id for the key name from the shared table data.
Declaration
public long GetId(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | The key whose id is being requested. |
Returns
Type | Description |
---|---|
long | The keys id value or EmptyId if one does not exist. |
GetId(string, bool)
Get the unique Id for the key name, if one does not exist then a new entry is added.
Declaration
public long GetId(string key, bool addNewKey)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
bool | addNewKey |
Returns
Type | Description |
---|---|
long | Id of the Key that exists else the Id of the newly created Key if addNewKey is True or EmptyId. |