|
NpzDictionaryTTryGetValue Method
|
Gets the value that is associated with the specified key.
Namespace:
Accord.IO
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public bool TryGetValue(
string key,
out T value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As T
) As Boolean
Request Example
View SourceParameters
- key
- Type: SystemString
The key to locate. - value
- Type: T
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
Type:
Booleantrue if the object that implements the
IReadOnlyDictionaryTKey, TValue interface contains an element that has the specified key; otherwise, false.
See Also