Class BsonInt64
Represents a BSON long value.
[Serializable]
public class BsonInt64 : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonInt64>, IEquatable<BsonInt64>
- Inheritance
-
Bson
Int64
- Implements
- Inherited Members
- Extension Methods
Constructors
- Bson
Int64(long) Initializes a new instance of the BsonInt64 class.
Properties
- Bson
Type Gets the BsonType of this BsonValue.
- Raw
Value Gets the BsonInt64 as a long.
- Value
Gets the value of this BsonInt64.
Methods
- Compare
To(Bson Int64) Compares this BsonInt64 to another BsonInt64.
- Compare
To(Bson Value) Compares the BsonInt64 to another BsonValue.
- Create(object)
Creates a new BsonInt64.
- Equals(Bson
Int64) Compares this BsonInt64 to another BsonInt64.
- Equals(object)
Compares this BsonInt64 to another object.
- Get
Hash Code() Gets the hash code.
- IConvertible
Get Type Code Implementation() Implementation of the IConvertible GetTypeCode method.
- IConvertible
ToBoolean Implementation(IFormat Provider) Implementation of the IConvertible ToBoolean method.
- IConvertible
ToByte Implementation(IFormat Provider) Implementation of the IConvertible ToByte method.
- IConvertible
ToChar Implementation(IFormat Provider) Implementation of the IConvertible ToChar method.
- IConvertible
ToDecimal Implementation(IFormat Provider) Implementation of the IConvertible ToDecimal method.
- IConvertible
ToDouble Implementation(IFormat Provider) Implementation of the IConvertible ToDouble method.
- IConvertible
ToInt16 Implementation(IFormat Provider) Implementation of the IConvertible ToInt16 method.
- IConvertible
ToInt32 Implementation(IFormat Provider) Implementation of the IConvertible ToInt32 method.
- IConvertible
ToInt64 Implementation(IFormat Provider) Implementation of the IConvertible ToInt64 method.
- IConvertible
ToSByte Implementation(IFormat Provider) Implementation of the IConvertible ToSByte method.
- IConvertible
ToSingle Implementation(IFormat Provider) Implementation of the IConvertible ToSingle method.
- IConvertible
ToString Implementation(IFormat Provider) Implementation of the IConvertible ToString method.
- IConvertible
ToUInt16 Implementation(IFormat Provider) Implementation of the IConvertible ToUInt16 method.
- IConvertible
ToUInt32 Implementation(IFormat Provider) Implementation of the IConvertible ToUInt32 method.
- IConvertible
ToUInt64 Implementation(IFormat Provider) Implementation of the IConvertible ToUInt64 method.
- Operator
Equals Implementation(Bson Value) Compares this BsonInt32 against another BsonValue.
- To
Boolean() Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
- To
Decimal() Converts this BsonValue to a Decimal.
- To
Decimal128() Converts this BsonValue to a Decimal128.
- To
Double() Converts this BsonValue to a Double.
- To
Int32() Converts this BsonValue to an Int32.
- To
Int64() Converts this BsonValue to an Int64.
- To
String() Returns a string representation of the value.
Operators
- operator ==(Bson
Int64, Bson Int64) Compares two BsonInt64 values.
- implicit operator Bson
Int64(long) Converts a long to a BsonInt64.
- operator !=(Bson
Int64, Bson Int64) Compares two BsonInt64 values.