GCHandle.Inequality(GCHandle, GCHandle) 运算符

定义

返回一个值,该值指示两个 GCHandle 对象是否不相等。

public:
 static bool operator !=(System::Runtime::InteropServices::GCHandle a, System::Runtime::InteropServices::GCHandle b);
public static bool operator != (System.Runtime.InteropServices.GCHandle a, System.Runtime.InteropServices.GCHandle b);
static member op_Inequality : System.Runtime.InteropServices.GCHandle * System.Runtime.InteropServices.GCHandle -> bool
Public Shared Operator != (a As GCHandle, b As GCHandle) As Boolean

参数

a
GCHandle

要与 b 参数进行比较的 GCHandle 对象。

b
GCHandle

要与 a 参数进行比较的 GCHandle 对象。

返回

Boolean

如果 ab 参数相等,则为 true;否则为 false

注解

此运算符 GCHandle.Equals的等效方法是 。

适用于