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)

比較兩個實體控制代碼。Compares two entity handles.

Compare(Handle, Handle)

比較兩個控制代碼。Compares two handles.

Equals(EntityHandle, EntityHandle)

判斷指定的物件是否相等。Determines whether the specified objects are equal.

Equals(Handle, Handle)

判斷指定的物件是否相等。Determines whether the specified objects are equal.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetHashCode(EntityHandle)

傳回指定物件的雜湊碼。Returns a hash code for the specified object.

GetHashCode(Handle)

傳回指定物件的雜湊碼。Returns a hash code for the specified object.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於