Table of Contents

Constructor BsonBinaryData

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

BsonBinaryData(byte[])

Initializes a new instance of the BsonBinaryData class.

public BsonBinaryData(byte[] bytes)

Parameters

bytes byte[]

The binary data.

BsonBinaryData(byte[], BsonBinarySubType)

Initializes a new instance of the BsonBinaryData class.

public BsonBinaryData(byte[] bytes, BsonBinarySubType subType)

Parameters

bytes byte[]

The binary data.

subType BsonBinarySubType

The binary data subtype.

BsonBinaryData(Guid, GuidRepresentation)

Initializes a new instance of the BsonBinaryData class.

public BsonBinaryData(Guid guid, GuidRepresentation guidRepresentation)

Parameters

guid Guid

A Guid.

guidRepresentation GuidRepresentation

The representation for Guids.