GCHandle.GetHashCode Method

Definition

返回当前 GCHandle 对象的标识符。Returns an identifier for the current GCHandle object.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

Int32

当前 GCHandle 对象的标识符。An identifier for the current GCHandle object.

Remarks

GetHashCode 方法返回由 GCHandle 结构封装的内部内存句柄的整数表示形式。The GetHashCode method returns an integer representation of the internal memory handle encapsulated by the GCHandle structure.

Applies to