HandleComparer 类

定义

public ref class HandleComparer sealed : System::Collections::Generic::IComparer<System::Reflection::Metadata::EntityHandle>, System::Collections::Generic::IComparer<System::Reflection::Metadata::Handle>, System::Collections::Generic::IEqualityComparer<System::Reflection::Metadata::EntityHandle>, System::Collections::Generic::IEqualityComparer<System::Reflection::Metadata::Handle>
public sealed class HandleComparer : System.Collections.Generic.IComparer<System.Reflection.Metadata.EntityHandle>, System.Collections.Generic.IComparer<System.Reflection.Metadata.Handle>, System.Collections.Generic.IEqualityComparer<System.Reflection.Metadata.EntityHandle>, System.Collections.Generic.IEqualityComparer<System.Reflection.Metadata.Handle>
type HandleComparer = class
    interface IEqualityComparer<Handle>
    interface IComparer<Handle>
    interface IEqualityComparer<EntityHandle>
    interface IComparer<EntityHandle>
type HandleComparer = class
    interface IComparer<EntityHandle>
    interface IComparer<Handle>
    interface IEqualityComparer<EntityHandle>
    interface IEqualityComparer<Handle>
Public NotInheritable Class HandleComparer
Implements IComparer(Of EntityHandle), IComparer(Of Handle), IEqualityComparer(Of EntityHandle), IEqualityComparer(Of Handle)
继承
HandleComparer
实现

属性

Default

方法

Compare(EntityHandle, EntityHandle)

比较两个实体句柄。

Compare(Handle, Handle)

比较两个句柄。

Equals(EntityHandle, EntityHandle)

确定指定的对象是否相等。

Equals(Handle, Handle)

确定指定的对象是否相等。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetHashCode(EntityHandle)

返回指定对象的哈希代码。

GetHashCode(Handle)

返回指定对象的哈希代码。

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于