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 ObjectEquals(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 ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | 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).
|
![]() | 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.) |