Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
EntityHandle Struct
Definition
- Namespace:
- System.Reflection.Metadata
- Assembly:
- System.Reflection.Metadata.dll
- Package:
- System.Reflection.Metadata v11.0.0-preview.5.26302.115
- Source:
- EntityHandle.cs
- Source:
- EntityHandle.cs
- Source:
- EntityHandle.cs
- Source:
- EntityHandle.cs
- Source:
- EntityHandle.cs
- Source:
- EntityHandle.cs
- Source:
- EntityHandle.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Implements
Remarks
Use EntityHandle to store multiple kinds of entity handles. It has a smaller memory footprint than Handle.
Fields
| Name | Description |
|---|---|
| AssemblyDefinition | |
| ModuleDefinition | |
Properties
| Name | Description |
|---|---|
| IsNil | |
| Kind | |
Methods
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Equality(EntityHandle, EntityHandle) | |
| Explicit(Handle to EntityHandle) | |
| Implicit(EntityHandle to Handle) | |
| Inequality(EntityHandle, EntityHandle) | |
Applies to
Feedback
Was this page helpful?
