| TimeUuid Structure |
Namespace: Cassandra
public struct TimeUuid : IEquatable<TimeUuid>, IComparable<TimeUuid>
The TimeUuid type exposes the following members.
| Name | Description | |
|---|---|---|
| CompareTo |
Compares the current TimeUuid with another TimeUuid based on the time representation of this instance.
| |
| Equals(Object) |
Returns a value indicating whether this instance and a specified TimeUuid object represent the same value.
(Overrides ValueTypeEquals(Object).) | |
| Equals(TimeUuid) |
Returns a value indicating whether this instance and a specified TimeUuid object represent the same value.
| |
| GetDate |
Gets the DateTimeOffset representation of this instance
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| NewId |
Initializes a new instance of the TimeUuid structure, using a random node id and clock sequence and the current date time
| |
| NewId(DateTimeOffset) |
Initializes a new instance of the TimeUuid structure, using a random node id and clock sequence
| |
| NewId(Byte, Byte, DateTimeOffset) |
Initializes a new instance of the TimeUuid structure
| |
| ToByteArray |
Returns a 16-element byte array that contains the value of this instance.
| |
| ToGuid |
Gets the Guid representation of the Id
| |
| ToString |
Returns a string representation of the value of this instance in registry format.
(Overrides ValueTypeToString.) | |
| ToString(String) |
Returns a string representation
| |
| ToString(String, IFormatProvider) |
Returns a string representation
|
| Name | Description | |
|---|---|---|
| Equality | ||
| (Guid to TimeUuid) |
From Guid to TimeUuid
| |
| (TimeUuid to Guid) |
From TimeUuid to Guid
| |
| Inequality |