Method TryGetLabelEntryFromInstanceId
TryGetLabelEntryFromInstanceId(uint, out IdLabelEntry)
Attempts to find the label id for the given instance id.
Declaration
public bool TryGetLabelEntryFromInstanceId(uint instanceId, out IdLabelEntry labelEntry)
Parameters
Type | Name | Description |
---|---|---|
uint | instanceId | The instanceId of the object for which the labelId should be found |
IdLabelEntry | labelEntry | The LabelEntry associated with the object. default if not found |
Returns
Type | Description |
---|---|
bool | True if a labelId is found for the given instanceId. |
TryGetLabelEntryFromInstanceId(uint, out IdLabelEntry, out int)
Attempts to find the label id for the given instance id.
Declaration
public bool TryGetLabelEntryFromInstanceId(uint instanceId, out IdLabelEntry labelEntry, out int index)
Parameters
Type | Name | Description |
---|---|---|
uint | instanceId | The instanceId of the object for which the labelId should be found |
IdLabelEntry | labelEntry | The LabelEntry associated with the object. default if not found |
int | index | The index of the found LabelEntry in labelEntries. -1 if not found |
Returns
Type | Description |
---|---|
bool | True if a labelId is found for the given instanceId. |