Click or drag to resize

BsonValueToInt32 Method

Converts this BsonValue to an Int32.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public virtual int ToInt32()

Return Value

Type: Int32
An Int32.
See Also