MetadataTokens.GetRowNumber 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
GetRowNumber(EntityHandle) |
Gets the row number of a metadata table entry that corresponds to the specified |
GetRowNumber(MetadataReader, EntityHandle) |
Gets the row number of a metadata table entry that corresponds to the specified |
GetRowNumber(EntityHandle)
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
Gets the row number of a metadata table entry that corresponds to the specified handle
.
public:
static int GetRowNumber(System::Reflection::Metadata::EntityHandle handle);
public static int GetRowNumber (System.Reflection.Metadata.EntityHandle handle);
static member GetRowNumber : System.Reflection.Metadata.EntityHandle -> int
Public Function GetRowNumber (handle As EntityHandle) As Integer
Parameters
- handle
- EntityHandle
Returns
One based row number, or -1 if handle
can only be interpreted in a context of a specific MetadataReader.
See GetRowNumber(MetadataReader, EntityHandle).
Applies to
GetRowNumber(MetadataReader, EntityHandle)
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
- Source:
- MetadataTokens.cs
Gets the row number of a metadata table entry that corresponds to the specified handle
in the context of reader
.
public:
[System::Runtime::CompilerServices::Extension]
static int GetRowNumber(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::EntityHandle handle);
public static int GetRowNumber (this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.EntityHandle handle);
static member GetRowNumber : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.EntityHandle -> int
<Extension()>
Public Function GetRowNumber (reader As MetadataReader, handle As EntityHandle) As Integer
Parameters
- reader
- MetadataReader
- handle
- EntityHandle
Returns
One based row number.
Exceptions
The handle
is not a valid metadata table handle.