Property this
this[int]
Gets or sets a value by position (only applies to BsonDocument and BsonArray).
public virtual BsonValue this[int index] { get; set; }
Parameters
index
intThe position.
Property Value
- BsonValue
The value.
this[string]
Gets or sets a value by name (only applies to BsonDocument).
public virtual BsonValue this[string name] { get; set; }
Parameters
name
stringThe name.
Property Value
- BsonValue
The value.