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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
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