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

Parameters

index
Type: SystemInt32
The position.

Return Value

Type: BsonValue
The value.
See Also