BsonBinaryData Constructor (Byte[], BsonBinarySubType) |
Initializes a new instance of the BsonBinaryData class.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntaxpublic BsonBinaryData(
byte[] bytes,
BsonBinarySubType subType
)
Public Sub New (
bytes As Byte(),
subType As BsonBinarySubType
)
new :
bytes : byte[] *
subType : BsonBinarySubType -> BsonBinaryData
Parameters
- bytes
- Type:System.Byte[]
The binary data. - subType
- Type: MongoDB.Bson.BsonBinarySubType
The binary data subtype.
See Also