Click or drag to resize

BsonValueItem Property (String)

Gets or sets a value by name (only applies to BsonDocument).

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public virtual BsonValue this[
	string name
] { get; set; }

Parameters

name
Type: SystemString
The name.

Return Value

Type: BsonValue
The value.
See Also