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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public void Add(
string elementName,
TValue value
)
Public Sub Add (
elementName As String,
value As TValue
)
member Add :
elementName : string *
value : 'TValue -> unit
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