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
- indexint
- The 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
- namestring
- The name. 
Property Value
- BsonValue
- The value.