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

Parameters

index
Type: SystemInt32
The position.

Return Value

Type: BsonValue
The value.
See Also