HandleComparer.GetHashCode 方法

定义

重载

GetHashCode(EntityHandle)

返回指定对象的哈希代码。Returns a hash code for the specified object.

GetHashCode(Handle)

返回指定对象的哈希代码。Returns a hash code for the specified object.

GetHashCode(EntityHandle)

返回指定对象的哈希代码。Returns a hash code for the specified object.

public:
 virtual int GetHashCode(System::Reflection::Metadata::EntityHandle obj);
public int GetHashCode (System.Reflection.Metadata.EntityHandle obj);
override this.GetHashCode : System.Reflection.Metadata.EntityHandle -> int
Public Function GetHashCode (obj As EntityHandle) As Integer

参数

obj
EntityHandle

Object,将为其返回哈希代码。The Object for which a hash code is to be returned.

返回

Int32

指定对象的哈希代码。A hash code for the specified object.

实现

GetHashCode(Handle)

返回指定对象的哈希代码。Returns a hash code for the specified object.

public:
 virtual int GetHashCode(System::Reflection::Metadata::Handle obj);
public int GetHashCode (System.Reflection.Metadata.Handle obj);
override this.GetHashCode : System.Reflection.Metadata.Handle -> int
Public Function GetHashCode (obj As Handle) As Integer

参数

obj
Handle

Object,将为其返回哈希代码。The Object for which a hash code is to be returned.

返回

Int32

指定对象的哈希代码。A hash code for the specified object.

实现

适用于