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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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