MetadataTokens.Handle Method
Definition
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.
Overloads
Handle(Int32) |
Creates a handle from a token value. |
Handle(TableIndex, Int32) |
Creates an EntityHandle from a token value. |
Handle(Int32)
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
Creates a handle from a token value.
public:
static System::Reflection::Metadata::Handle Handle(int token);
public static System.Reflection.Metadata.Handle Handle (int token);
static member Handle : int -> System.Reflection.Metadata.Handle
Public Function Handle (token As Integer) As Handle
Parameters
- token
- Int32
Returns
Exceptions
token
is not a valid metadata token.
It must encode a metadata table entity or an offset in the UserString heap.
Applies to
Handle(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 Handle(System::Reflection::Metadata::Ecma335::TableIndex tableIndex, int rowNumber);
public static System.Reflection.Metadata.EntityHandle Handle (System.Reflection.Metadata.Ecma335.TableIndex tableIndex, int rowNumber);
static member Handle : System.Reflection.Metadata.Ecma335.TableIndex * int -> System.Reflection.Metadata.EntityHandle
Public Function Handle (tableIndex As TableIndex, rowNumber As Integer) As EntityHandle
Parameters
- tableIndex
- TableIndex
- rowNumber
- Int32
Returns
Exceptions
tableIndex
is not a valid table index.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.