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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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