Object |
public class ObjectId : IComparable<ObjectId>, IEquatable<ObjectId>
The ObjectId type exposes the following members.
| Name | Description | |
|---|---|---|
| ObjectId | Initializes a new empty instance of the ObjectId class. | |
| ObjectId(ObjectId) | Initializes a new instance of ObjectId class from another ObjectId. | |
| ObjectId(String) | Initializes a new instance of the ObjectId class from hex string. | |
| ObjectId(Byte, Int32) | Initializes a new instance of the ObjectId class from byte array. | |
| ObjectId(Int32, Int32, Int16, Int32) | Initializes a new instance of the ObjectId class from ObjectId vars. |
| Name | Description | |
|---|---|---|
| CreationTime | Get creation time | |
| Empty | A zero 12-bytes ObjectId | |
| Increment | Get increment | |
| Machine | Get machine number | |
| Pid | Get pid number | |
| Timestamp | Get timestamp |
| Name | Description | |
|---|---|---|
| CompareTo | Compares two instances of ObjectId | |
| Equals(Object) |
Determines whether the specified object is equal to this instance.
(Overrides ObjectEquals(Object)) | |
| Equals(ObjectId) | Checks if this ObjectId is equal to the given object. Returns true if the given object is equal to the value of this instance. Returns false otherwise. | |
| 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 |
Returns a hash code for this instance.
(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) | |
| NewObjectId | Creates a new ObjectId. | |
| ToByteArray | ||
| ToByteArray(Byte, Int32) | Represent ObjectId as 12 bytes array | |
| ToString | (Overrides ObjectToString) | |
| TryParse |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |