BTreeBaseKey, ValueTryGetKey Method (Key, Key) |
Gets the value matching persistent key with the specified key.
Namespace:
VelocityDb.Collection.BTree
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public bool TryGetKey(
Key key,
ref Key value
)
Public Function TryGetKey (
key As Key,
ByRef value As Key
) As Boolean
public:
bool TryGetKey(
Key key,
Key% value
)
member TryGetKey :
key : 'Key *
value : 'Key byref -> bool
Parameters
- key
- Type: Key
The key of the value to get. - value
- Type: Key
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 set contains an element with the specified key; otherwise, false.
See Also