Click or drag to resize

BsonBinaryData Constructor (Byte, BsonBinarySubType, GuidRepresentation)

Note: This API is now obsolete.

Initializes a new instance of the BsonBinaryData class.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
[ObsoleteAttribute("This constructor will be removed in a later release.")]
public BsonBinaryData(
	byte[] bytes,
	BsonBinarySubType subType,
	GuidRepresentation guidRepresentation
)

Parameters

bytes
Type: SystemByte
The binary data.
subType
Type: MongoDB.BsonBsonBinarySubType
The binary data subtype.
guidRepresentation
Type: MongoDB.BsonGuidRepresentation
The representation for Guids.
See Also