MetadataTokens.EntityHandle Method

Definition

Overloads

EntityHandle(Int32)

Creates an entity handle from a token value.

EntityHandle(TableIndex, Int32)

Creates an EntityHandle from a token value.

EntityHandle(Int32)

Source:
MetadataTokens.cs
Source:
MetadataTokens.cs
Source:
MetadataTokens.cs
Source:
MetadataTokens.cs

Creates an entity handle from a token value.

public:
 static System::Reflection::Metadata::EntityHandle EntityHandle(int token);
public static System.Reflection.Metadata.EntityHandle EntityHandle (int token);
static member EntityHandle : int -> System.Reflection.Metadata.EntityHandle
Public Function EntityHandle (token As Integer) As EntityHandle

Parameters

token
Int32

Returns

Exceptions

token is not a valid metadata entity token.

Applies to

EntityHandle(TableIndex, Int32)

Source:
MetadataTokens.cs
Source:
MetadataTokens.cs
Source:
MetadataTokens.cs
Source:
MetadataTokens.cs

Creates an EntityHandle from a token value.

public:
 static System::Reflection::Metadata::EntityHandle EntityHandle(System::Reflection::Metadata::Ecma335::TableIndex tableIndex, int rowNumber);
public static System.Reflection.Metadata.EntityHandle EntityHandle (System.Reflection.Metadata.Ecma335.TableIndex tableIndex, int rowNumber);
static member EntityHandle : System.Reflection.Metadata.Ecma335.TableIndex * int -> System.Reflection.Metadata.EntityHandle
Public Function EntityHandle (tableIndex As TableIndex, rowNumber As Integer) As EntityHandle

Parameters

tableIndex
TableIndex
rowNumber
Int32

Returns

Exceptions

tableIndex is not a valid table index.

Applies to