Method ToInt32 NamespaceMongoDB.Bson AssemblyMongoDB.Bson.dll ToInt32() Converts this BsonValue to an Int32. public override int ToInt32() Returns int An Int32.