EntityHandle 結構

定義

表示中繼資料實體 (例如類型參考、類型定義、類型規格、方法定義或自訂屬性)。Represents a metadata entity (such as a type reference, type definition, type specification, method definition, or custom attribute).

public value class EntityHandle : IEquatable<System::Reflection::Metadata::EntityHandle>
public struct EntityHandle : IEquatable<System.Reflection.Metadata.EntityHandle>
type EntityHandle = struct
Public Structure EntityHandle
Implements IEquatable(Of EntityHandle)
繼承
EntityHandle
實作

備註

使用 EntityHandle 來儲存多種類型的實體控制碼。Use EntityHandle to store multiple kinds of entity handles. 其記憶體使用量小於 HandleIt has a smaller memory footprint than Handle.

欄位

AssemblyDefinition
ModuleDefinition

屬性

IsNil
Kind

方法

Equals(EntityHandle)

傳回值,指出目前的執行個體與指定的 EntityHandle 是否相等。Returns a value that indicates whether the current instance and the specified EntityHandle are equal.

Equals(Object)

傳回值,指出目前執行個體與指定的物件是否相等。Returns a value that indicates whether the current instance and the specified object are equal.

GetHashCode()

傳回這個執行個體的雜湊碼。Returns the hash code for this instance.

運算子

Equality(EntityHandle, EntityHandle)
Explicit(Handle to EntityHandle)
Implicit(EntityHandle to Handle)
Inequality(EntityHandle, EntityHandle)

適用於