RuntimeFieldHandle.Equality(RuntimeFieldHandle, RuntimeFieldHandle) 操作员

定义

指示两个 RuntimeFieldHandle 结构是否相等。Indicates whether two RuntimeFieldHandle structures are equal.

public:
 static bool operator ==(RuntimeFieldHandle left, RuntimeFieldHandle right);
public static bool operator == (RuntimeFieldHandle left, RuntimeFieldHandle right);
static member ( = ) : RuntimeFieldHandle * RuntimeFieldHandle -> bool
Public Shared Operator == (left As RuntimeFieldHandle, right As RuntimeFieldHandle) As Boolean

参数

left
RuntimeFieldHandle

要与 right 进行比较的 RuntimeFieldHandleThe RuntimeFieldHandle to compare to right.

right
RuntimeFieldHandle

要与 left 进行比较的 RuntimeFieldHandleThe RuntimeFieldHandle to compare to left.

返回

如果 true 等于 left,则为 right;否则为 falsetrue if left is equal to right; otherwise, false.

注解

此运算符的等效方法为RuntimeFieldHandle.Equals(RuntimeFieldHandle)The equivalent method for this operator is RuntimeFieldHandle.Equals(RuntimeFieldHandle).

适用于