Class BsonBinaryData
Represents BSON binary data.
[Serializable]
public class BsonBinaryData : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonBinaryData>, IEquatable<BsonBinaryData>
- Inheritance
-
Bson
Binary Data
- Implements
- Inherited Members
- Extension Methods
Constructors
- Bson
Binary Data(byte[]) Initializes a new instance of the BsonBinaryData class.
- Bson
Binary Data(byte[], Bson Binary Sub Type) Initializes a new instance of the BsonBinaryData class.
- Bson
Binary Data(byte[], Bson Binary Sub Type, Guid Representation) Initializes a new instance of the BsonBinaryData class.
- Bson
Binary Data(Guid) Initializes a new instance of the BsonBinaryData class.
- Bson
Binary Data(Guid, Guid Representation) Initializes a new instance of the BsonBinaryData class.
Properties
- Bson
Type Gets the BsonType of this BsonValue.
- Bytes
Gets the binary data.
- Guid
Representation Gets the representation to use when representing the Guid as BSON binary data.
- Raw
Value Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null.
- Sub
Type Gets the binary data subtype.
Methods
- Compare
To(Bson Binary Data) Compares this BsonBinaryData to another BsonBinaryData.
- Compare
To(Bson Value) Compares the BsonBinaryData to another BsonValue.
- Create(object)
Creates a new BsonBinaryData.
- Equals(Bson
Binary Data) Compares this BsonBinaryData to another BsonBinaryData.
- Equals(object)
Compares this BsonBinaryData to another object.
- Get
Hash Code() Gets the hash code.
- To
Guid() Converts this BsonBinaryData to a Guid.
- To
Guid(Guid Representation) Converts this BsonBinaryData to a Guid.
- To
String() Returns a string representation of the binary data.
Operators
- operator ==(Bson
Binary Data, Bson Binary Data) Compares two BsonBinaryData values.
- implicit operator Bson
Binary Data(byte[]) Converts a byte array to a BsonBinaryData.
- implicit operator Bson
Binary Data(Guid) Converts a Guid to a BsonBinaryData.
- operator !=(Bson
Binary Data, Bson Binary Data) Compares two BsonBinaryData values.