RuntimeFieldHandle.Inequality(RuntimeFieldHandle, RuntimeFieldHandle) 运算符

定义

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

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

参数

left
RuntimeFieldHandle

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

right
RuntimeFieldHandle

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

返回

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

注解

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

适用于