Table of Contents

Class BsonTrieNode<TValue>

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents a node in a BsonTrie.

public sealed class BsonTrieNode<TValue>

Type Parameters

TValue

The type of the BsonTrie values.

Inheritance
BsonTrieNode<TValue>
Inherited Members
Extension Methods

Properties

ElementName

Gets the element name for this node.

public string ElementName { get; }

Property Value

string

HasValue

Gets whether this node has a value.

public bool HasValue { get; }

Property Value

bool

Value

Gets the value for this node.

public TValue Value { get; }

Property Value

TValue

Methods

GetChild(byte)

Gets the child of this node for a given key byte.

public BsonTrieNode<TValue> GetChild(byte keyByte)

Parameters

keyByte byte

The key byte.

Returns

BsonTrieNode<TValue>

The child node if it exists; otherwise, null.