Bewerken

Delen via


EntityHandle Struct

Definition

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>
public readonly struct EntityHandle : IEquatable<System.Reflection.Metadata.EntityHandle>
type EntityHandle = struct
Public Structure EntityHandle
Implements IEquatable(Of EntityHandle)
Inheritance
EntityHandle
Implements

Remarks

Use EntityHandle to store multiple kinds of entity handles. It has a smaller memory footprint than Handle.

Fields

AssemblyDefinition
ModuleDefinition

Properties

IsNil
Kind

Methods

Equals(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.

Operators

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

Applies to