Edit

Share via


MetadataReaderExtensions.GetTableMetadataOffset Method

Definition

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

tableIndex
TableIndex

Returns

Exceptions

reader is null.

tableIndex is not a valid table index.

Applies to