Method TryGetMatchingConfigurationEntry
TryGetMatchingConfigurationEntry(Labeling, out LabelEntry)
Attempts to find the matching index in LabelEntries for the given Labeling.
Declaration
public bool TryGetMatchingConfigurationEntry(Labeling labeling, out LabelEntry labelEntry)
Parameters
Type | Name | Description |
---|---|---|
Labeling | labeling | The Labeling to match |
LabelEntry | labelEntry | When this method returns, contains the matching LabelEntry, or if no match was found.
|
Returns
Type | Description |
---|---|
bool | Returns true if a match was found. False if not. |
Remarks
The matching index is the first class name in the given Labeling which matches an entry in LabelEntries.
TryGetMatchingConfigurationEntry(Labeling, out LabelEntry, out int)
Attempts to find the matching index in LabelEntries for the given Labeling.
Declaration
public bool TryGetMatchingConfigurationEntry(Labeling labeling, out LabelEntry labelEntry, out int labelEntryIndex)
Parameters
Type | Name | Description |
---|---|---|
Labeling | labeling | The Labeling to match |
LabelEntry | labelEntry | When this method returns, contains the matching LabelEntry, or if no match was found.
|
int | labelEntryIndex | When this method returns, contains the index of the matching LabelEntry, or if no match was found.
|
Returns
Type | Description |
---|---|
bool | Returns true if a match was found. False if not. |
Remarks
The matching index is the first class name in the given Labeling which matches an entry in LabelEntries.