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.0.1
Syntax
public virtual BsonValue this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The position.

Return Value

Type: BsonValue
The value.
See Also