RuntimeFieldHandle.Equals RuntimeFieldHandle.Equals RuntimeFieldHandle.Equals RuntimeFieldHandle.Equals Method

定义

指示对象是否与当前 RuntimeFieldHandle 表示同一字段。Indicates whether an object represents the same field as the current RuntimeFieldHandle.

重载

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

指示当前实例是否等于指定的对象。Indicates whether the current instance is equal to the specified object.

Equals(RuntimeFieldHandle) Equals(RuntimeFieldHandle) Equals(RuntimeFieldHandle) Equals(RuntimeFieldHandle)

指示当前实例是否等于指定的 RuntimeFieldHandleIndicates whether the current instance is equal to the specified RuntimeFieldHandle.

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

指示当前实例是否等于指定的对象。Indicates whether the current instance is equal to the 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

要与当前类型进行比较的对象。The object to compare to the current instance.

返回

如果 objRuntimeFieldHandle 且与当前实例的值相等,则为 true;否则为 falsetrue if obj is a RuntimeFieldHandle and equal to the value of the current instance; otherwise, false.

Equals(RuntimeFieldHandle) Equals(RuntimeFieldHandle) Equals(RuntimeFieldHandle) Equals(RuntimeFieldHandle)

指示当前实例是否等于指定的 RuntimeFieldHandleIndicates whether the current instance is equal to the specified RuntimeFieldHandle.

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

参数

handle
RuntimeFieldHandle RuntimeFieldHandle RuntimeFieldHandle RuntimeFieldHandle

要与当前实例进行比较的 RuntimeFieldHandleThe RuntimeFieldHandle to compare to the current instance.

返回

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

适用于