Initializes a new instance of the BsonElement class.
            
 
    Namespace: 
   MongoDB.Bson
    Assembly:
   MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic BsonElement(
	string name,
	BsonValue value
)
Public Sub New ( 
	name As String,
	value As BsonValue
)
new : 
        name : string * 
        value : BsonValue -> BsonElementParameters
- name
 - Type: SystemString
The name of the element. - value
 - Type: MongoDB.BsonBsonValue
The value of the element. 
See Also