Click or drag to resize

BsonTrieTValueAdd Method

Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public void Add(
	string elementName,
	TValue value
)

Parameters

elementName
Type: SystemString
The element name to add.
value
Type: TValue
The value to add. The value can be null for reference types.
See Also