Click or drag to resize

BsonValueItem Property (Int32)

Gets or sets a value by position (only applies to BsonDocument and BsonArray).

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public virtual BsonValue this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The position.

Return Value

Type: BsonValue
The value.
See Also