Property this
this[int]
Gets or sets a value by position (only applies to BsonDocument and BsonArray).
Parameters
index
intThe position.
Property Value
- Bson
Value The value.
this[string]
Gets or sets a value by name (only applies to BsonDocument).
Parameters
name
stringThe name.
Property Value
- Bson
Value The value.