Table of Contents

Property AsByteArray

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsByteArray

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

public byte[] AsByteArray { get; }

Property Value

byte[]