StartIndexDictionaryTryGetValue Method |
Gets the value that is associated with the specified key.
Namespace: RelaxIS_SDK.PluginsAssembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax public bool TryGetValue(
int key,
ref int value
)
Public Function TryGetValue (
key As Integer,
ByRef value As Integer
) As Boolean
Dim instance As StartIndexDictionary
Dim key As Integer
Dim value As Integer
Dim returnValue As Boolean
returnValue = instance.TryGetValue(key,
value)
Parameters
- key Int32
- The key to locate.
- value Int32
- When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Boolean if the object that implements the
IReadOnlyDictionaryTKey, TValue interface contains an element that has the specified key; otherwise,
.
Implements
IReadOnlyDictionaryTKey, TValueTryGetValue(TKey, TValue)Exceptions See Also