Click or drag to resize

ObjectId Methods

The ObjectId type exposes the following members.

Methods
 NameDescription
Public methodCompareTo Compares two instances of ObjectId
Public methodEquals(Object) Determines whether the specified object is equal to this instance.
(Overrides ObjectEquals(Object))
Public methodEquals(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.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberNewObjectId Creates a new ObjectId.
Public methodToByteArray 
Public methodToByteArray(Byte, Int32) Represent ObjectId as 12 bytes array
Public methodToString
(Overrides ObjectToString)
Public methodStatic memberTryParse 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also