Click or drag to resize

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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public bool TryGetNode(
	ArraySegment<byte> utf8,
	out BsonTrieNode<TValue> node
)

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: Boolean
True if the node was found; otherwise, false.
See Also