HandleComparer HandleComparer HandleComparer HandleComparer Class

定義

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 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)
繼承
HandleComparerHandleComparerHandleComparerHandleComparer
實作

屬性

Default Default Default Default

方法

Compare(EntityHandle, EntityHandle) Compare(EntityHandle, EntityHandle) Compare(EntityHandle, EntityHandle) Compare(EntityHandle, EntityHandle)

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

Compare(Handle, Handle) Compare(Handle, Handle) Compare(Handle, Handle) Compare(Handle, Handle)

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

Equals(EntityHandle, EntityHandle) Equals(EntityHandle, EntityHandle) Equals(EntityHandle, EntityHandle) Equals(EntityHandle, EntityHandle)
Equals(Handle, Handle) Equals(Handle, Handle) Equals(Handle, Handle) Equals(Handle, Handle)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetHashCode(EntityHandle) GetHashCode(EntityHandle) GetHashCode(EntityHandle) GetHashCode(EntityHandle)
GetHashCode(Handle) GetHashCode(Handle) GetHashCode(Handle) GetHashCode(Handle)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

適用於