BsonInt32 Methods |
The BsonInt32 type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Creates a shallow clone of the BsonValue (see also DeepClone).
(Inherited from BsonValue.) | |
CompareTo(BsonInt32) |
Compares this BsonInt32 to another BsonInt32.
| |
CompareTo(BsonValue) |
Compares the BsonInt32 to another BsonValue.
(Overrides BsonValueCompareTo(BsonValue).) | |
CompareTypeTo |
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.) | |
Create |
Creates a new BsonInt32.
| |
DeepClone |
Creates a deep clone of the BsonValue (see also Clone).
(Inherited from BsonValue.) | |
Equals(Object) |
Compares this BsonInt32 to another object.
(Overrides BsonValueEquals(Object).) | |
Equals(BsonInt32) |
Compares this BsonInt32 to another BsonInt32.
| |
Equals(BsonValue) |
Compares this BsonValue to another BsonValue.
(Inherited from 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 BsonValueGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IConvertibleGetTypeCodeImplementation |
Implementation of the IConvertible GetTypeCode method.
(Overrides BsonValueIConvertibleGetTypeCodeImplementation.) | |
IConvertibleToBooleanImplementation |
Implementation of the IConvertible ToBoolean method.
(Overrides BsonValueIConvertibleToBooleanImplementation(IFormatProvider).) | |
IConvertibleToByteImplementation |
Implementation of the IConvertible ToByte method.
(Overrides BsonValueIConvertibleToByteImplementation(IFormatProvider).) | |
IConvertibleToCharImplementation |
Implementation of the IConvertible ToChar method.
(Overrides BsonValueIConvertibleToCharImplementation(IFormatProvider).) | |
IConvertibleToDateTimeImplementation |
Implementation of the IConvertible ToDateTime method.
(Inherited from BsonValue.) | |
IConvertibleToDecimalImplementation |
Implementation of the IConvertible ToDecimal method.
(Overrides BsonValueIConvertibleToDecimalImplementation(IFormatProvider).) | |
IConvertibleToDoubleImplementation |
Implementation of the IConvertible ToDouble method.
(Overrides BsonValueIConvertibleToDoubleImplementation(IFormatProvider).) | |
IConvertibleToInt16Implementation |
Implementation of the IConvertible ToInt16 method.
(Overrides BsonValueIConvertibleToInt16Implementation(IFormatProvider).) | |
IConvertibleToInt32Implementation |
Implementation of the IConvertible ToInt32 method.
(Overrides BsonValueIConvertibleToInt32Implementation(IFormatProvider).) | |
IConvertibleToInt64Implementation |
Implementation of the IConvertible ToInt64 method.
(Overrides BsonValueIConvertibleToInt64Implementation(IFormatProvider).) | |
IConvertibleToSByteImplementation |
Implementation of the IConvertible ToSByte method.
(Overrides BsonValueIConvertibleToSByteImplementation(IFormatProvider).) | |
IConvertibleToSingleImplementation |
Implementation of the IConvertible ToSingle method.
(Overrides BsonValueIConvertibleToSingleImplementation(IFormatProvider).) | |
IConvertibleToStringImplementation |
Implementation of the IConvertible ToString method.
(Overrides BsonValueIConvertibleToStringImplementation(IFormatProvider).) | |
IConvertibleToUInt16Implementation |
Implementation of the IConvertible ToUInt16 method.
(Overrides BsonValueIConvertibleToUInt16Implementation(IFormatProvider).) | |
IConvertibleToUInt32Implementation |
Implementation of the IConvertible ToUInt32 method.
(Overrides BsonValueIConvertibleToUInt32Implementation(IFormatProvider).) | |
IConvertibleToUInt64Implementation |
Implementation of the IConvertible ToUInt64 method.
(Overrides BsonValueIConvertibleToUInt64Implementation(IFormatProvider).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OperatorEqualsImplementation |
Compares this BsonInt32 against another BsonValue.
(Overrides BsonValueOperatorEqualsImplementation(BsonValue).) | |
ToBoolean |
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
(Overrides BsonValueToBoolean.) | |
ToDecimal |
Converts this BsonValue to a Decimal.
(Overrides BsonValueToDecimal.) | |
ToDecimal128 |
Converts this BsonValue to a Decimal128.
(Overrides BsonValueToDecimal128.) | |
ToDouble |
Converts this BsonValue to a Double.
(Overrides BsonValueToDouble.) | |
ToInt32 |
Converts this BsonValue to an Int32.
(Overrides BsonValueToInt32.) | |
ToInt64 |
Converts this BsonValue to an Int64.
(Overrides BsonValueToInt64.) | |
ToLocalTime |
Converts this BsonValue to a DateTime in local time.
(Inherited from BsonValue.) | |
ToNullableLocalTime |
Converts this BsonValue to a DateTime? in local time.
(Inherited from BsonValue.) | |
ToNullableUniversalTime |
Converts this BsonValue to a DateTime? in UTC.
(Inherited from BsonValue.) | |
ToString |
Returns a string representation of the value.
(Overrides ObjectToString.) | |
ToUniversalTime |
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.) |
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.) |