UIntPtr.Equals(Object) UIntPtr.Equals(Object) UIntPtr.Equals(Object) UIntPtr.Equals(Object) Method

定義

傳回值,指出這個執行個體 (Instance) 是否和指定的物件相等。Returns a value indicating whether this instance is equal to a specified object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

參數

obj
Object Object Object Object

與這個執行個體或 null 相比較的物件。An object to compare with this instance or null.

傳回

如果 trueobj 的執行個體,並且等於這個執行個體的值,則為 UIntPtr,否則為 falsetrue if obj is an instance of UIntPtr and equals the value of this instance; otherwise, false.

適用於