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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public bool TryGetNode(
BsonStream stream,
out BsonTrieNode<TValue> node
)
Public Function TryGetNode (
stream As BsonStream,
<OutAttribute> ByRef node As BsonTrieNode(Of TValue)
) As Boolean
member TryGetNode :
stream : BsonStream *
node : BsonTrieNode<'TValue> byref -> bool
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