BsonTrieTValueTryGetNode Method (ArraySegmentByte, BsonTrieNodeTValue) |
Gets the node associated with the specified element name.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public bool TryGetNode(
ArraySegment<byte> utf8,
out BsonTrieNode<TValue> node
)
Public Function TryGetNode (
utf8 As ArraySegment(Of Byte),
<OutAttribute> ByRef node As BsonTrieNode(Of TValue)
) As Boolean
member TryGetNode :
utf8 : ArraySegment<byte> *
node : BsonTrieNode<'TValue> byref -> bool
Parameters
- utf8
- Type: SystemArraySegmentByte
The element name. - node
- Type: MongoDB.Bson.IOBsonTrieNodeTValue
When this method returns, contains the node associated with the specified element name, if the key is found;
otherwise, null. This parameter is passed unitialized.
Return Value
Type:
BooleanTrue if the node was found; otherwise, false.
See Also