MetadataTokens.EntityHandle 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
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
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.