Table of Contents

Constructor BsonElement

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

BsonElement(string, BsonValue)

Initializes a new instance of the BsonElement class.

public BsonElement(string name, BsonValue value)

Parameters

name string

The name of the element.

value BsonValue

The value of the element.