Class BsonTimestamp
Represents a BSON timestamp value.
[Serializable]
public class BsonTimestamp : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonTimestamp>, IEquatable<BsonTimestamp>
- Inheritance
-
Bson
Timestamp
- Implements
- Inherited Members
- Extension Methods
Constructors
- Bson
Timestamp(int, int) Initializes a new instance of the BsonTimestamp class.
- Bson
Timestamp(long) Initializes a new instance of the BsonTimestamp class.
Properties
- Bson
Type Gets the BsonType of this BsonValue.
- Increment
Gets the increment.
- Timestamp
Gets the timestamp.
- Value
Gets the value of this BsonTimestamp.
Methods
- Compare
To(Bson Timestamp) Compares this BsonTimestamp to another BsonTimestamp.
- Compare
To(Bson Value) Compares the BsonTimestamp to another BsonValue.
- Create(object)
Creates a new BsonTimestamp.
- Equals(Bson
Timestamp) Compares this BsonTimestamp to another BsonTimestamp.
- Equals(object)
Compares this BsonTimestamp to another object.
- Get
Hash Code() Gets the hash code.
- To
String() Returns a string representation of the value.
Operators
- operator ==(Bson
Timestamp, Bson Timestamp) Compares two BsonTimestamp values.
- operator !=(Bson
Timestamp, Bson Timestamp) Compares two BsonTimestamp values.