RuntimeMethodHandle.Equals RuntimeMethodHandle.Equals RuntimeMethodHandle.Equals RuntimeMethodHandle.Equals Method

定义

指示一个 RuntimeMethodHandle 是否与另一个相等。Indicates whether one RuntimeMethodHandle is equal to another.

重载

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

指示此实例是否与指定对象相等。Indicates whether this instance is equal to a specified object.

Equals(RuntimeMethodHandle) Equals(RuntimeMethodHandle) Equals(RuntimeMethodHandle) Equals(RuntimeMethodHandle)

指示此实例是否与指定的 RuntimeMethodHandle 相等。Indicates whether this instance is equal to a specified RuntimeMethodHandle.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

指示此实例是否与指定对象相等。Indicates 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

要与此实例进行比较的 ObjectA Object to compare to this instance.

返回

如果 objRuntimeMethodHandle 且与此实例的值相等,则为 true;否则为 falsetrue if obj is a RuntimeMethodHandle and equal to the value of this instance; otherwise, false.

另请参阅

Equals(RuntimeMethodHandle) Equals(RuntimeMethodHandle) Equals(RuntimeMethodHandle) Equals(RuntimeMethodHandle)

指示此实例是否与指定的 RuntimeMethodHandle 相等。Indicates whether this instance is equal to a specified RuntimeMethodHandle.

public:
 bool Equals(RuntimeMethodHandle handle);
public bool Equals (RuntimeMethodHandle handle);
override this.Equals : RuntimeMethodHandle -> bool
Public Function Equals (handle As RuntimeMethodHandle) As Boolean

参数

handle
RuntimeMethodHandle RuntimeMethodHandle RuntimeMethodHandle RuntimeMethodHandle

要与此实例进行比较的 RuntimeMethodHandleA RuntimeMethodHandle to compare to this instance.

返回

如果 handle 等于此实例的值,则为 true;否则,为 falsetrue if handle is equal to the value of this instance; otherwise, false.

另请参阅

适用于