Table of Contents

Property AsInt64

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsInt64

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

public long AsInt64 { get; }

Property Value

long