Table of Contents

Property AsInt32

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsInt32

Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid).

public int AsInt32 { get; }

Property Value

int