MetadataReaderExtensions.GetTableMetadataOffset 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.
Returns the offset from the start of metadata to the specified table.
public:
[System::Runtime::CompilerServices::Extension]
static int GetTableMetadataOffset(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::Ecma335::TableIndex tableIndex);
public static int GetTableMetadataOffset (this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.Ecma335.TableIndex tableIndex);
static member GetTableMetadataOffset : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.Ecma335.TableIndex -> int
<Extension()>
Public Function GetTableMetadataOffset (reader As MetadataReader, tableIndex As TableIndex) As Integer
Parameters
- reader
- MetadataReader
- tableIndex
- TableIndex
Returns
Exceptions
reader
is null
.
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.