BTreeMapBaseKey, ValueTryGetValue Method (Key, Byte, Value) |
Gets the value associated with the specified key.
Namespace:
VelocityDb.Collection.BTree
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public bool TryGetValue(
Key key,
byte[] comparisonArray,
out Value value
)
Public Function TryGetValue (
key As Key,
comparisonArray As Byte(),
<OutAttribute> ByRef value As Value
) As Boolean
public:
bool TryGetValue(
Key key,
array<unsigned char>^ comparisonArray,
[OutAttribute] Value% value
)
member TryGetValue :
key : 'Key *
comparisonArray : byte[] *
value : 'Value byref -> bool
Parameters
- key
- Type: Key
The key of the value to get. - comparisonArray
- Type: SystemByte
The comparison array associated with the key to get. - value
- Type: Value
When this method returns, contains 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 BTreeBase(Of Key) contains an element with the specified key; otherwise, false.
See Also