GCHandle.Equality(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 ( = ) : System.Runtime.InteropServices.GCHandle * System.Runtime.InteropServices.GCHandle -> bool
Public Shared Operator == (a As GCHandle, b As GCHandle) As Boolean

参数

a
GCHandle

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

b
GCHandle

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

返回

如果和参数相等,则为 />;否则为

注解

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

适用于