Click or drag to resize

BsonTrieTValueTryGetNode Method (BsonStream, BsonTrieNodeTValue)

Tries to get the node associated with a name read from a stream.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public bool TryGetNode(
	BsonStream stream,
	out BsonTrieNode<TValue> node
)

Parameters

stream
Type: MongoDB.Bson.IOBsonStream
The stream.
node
Type: MongoDB.Bson.IOBsonTrieNodeTValue
The node.

Return Value

Type: Boolean
True if the node was found. If the node was found the stream is advanced over the name, otherwise the stream is repositioned to the beginning of the name.
See Also