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

Parameters

index
Type: SystemInt32
The position.

Return Value

Type: BsonValue
The value.
See Also