BsonValue Methods |
The BsonValue type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Creates a shallow clone of the BsonValue (see also DeepClone).
| |
CompareTo |
Compares this BsonValue to another BsonValue.
| |
CompareTypeTo |
Compares the type of this BsonValue to the type of another BsonValue.
| |
Create |
Creates a new instance of the BsonValue class.
| |
DeepClone |
Creates a deep clone of the BsonValue (see also Clone).
| |
Equals(Object) |
Compares this BsonValue to another object.
(Overrides Object.Equals(Object).) | |
Equals(BsonValue) |
Compares this BsonValue to another BsonValue.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Gets the hash code.
(Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IConvertibleGetTypeCodeImplementation |
Implementation of the IConvertible GetTypeCode method.
| |
IConvertibleToBooleanImplementation |
Implementation of the IConvertible ToBoolean method.
| |
IConvertibleToByteImplementation |
Implementation of the IConvertible ToByte method.
| |
IConvertibleToCharImplementation |
Implementation of the IConvertible ToChar method.
| |
IConvertibleToDateTimeImplementation |
Implementation of the IConvertible ToDateTime method.
| |
IConvertibleToDecimalImplementation |
Implementation of the IConvertible ToDecimal method.
| |
IConvertibleToDoubleImplementation |
Implementation of the IConvertible ToDouble method.
| |
IConvertibleToInt16Implementation |
Implementation of the IConvertible ToInt16 method.
| |
IConvertibleToInt32Implementation |
Implementation of the IConvertible ToInt32 method.
| |
IConvertibleToInt64Implementation |
Implementation of the IConvertible ToInt64 method.
| |
IConvertibleToSByteImplementation |
Implementation of the IConvertible ToSByte method.
| |
IConvertibleToSingleImplementation |
Implementation of the IConvertible ToSingle method.
| |
IConvertibleToStringImplementation |
Implementation of the IConvertible ToString method.
| |
IConvertibleToUInt16Implementation |
Implementation of the IConvertible ToUInt16 method.
| |
IConvertibleToUInt32Implementation |
Implementation of the IConvertible ToUInt32 method.
| |
IConvertibleToUInt64Implementation |
Implementation of the IConvertible ToUInt64 method.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OperatorEqualsImplementation |
Implementation of operator ==.
| |
ToBoolean |
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
| |
ToDecimal |
Converts this BsonValue to a Decimal.
| |
ToDecimal128 |
Converts this BsonValue to a Decimal128.
| |
ToDouble |
Converts this BsonValue to a Double.
| |
ToInt32 |
Converts this BsonValue to an Int32.
| |
ToInt64 |
Converts this BsonValue to an Int64.
| |
ToLocalTime |
Converts this BsonValue to a DateTime in local time.
| |
ToNullableLocalTime |
Converts this BsonValue to a DateTime? in local time.
| |
ToNullableUniversalTime |
Converts this BsonValue to a DateTime? in UTC.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToUniversalTime |
Converts this BsonValue to a DateTime in UTC.
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |