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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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