Redigera

Dela via


MetadataReaderExtensions.GetTableRowCount(MetadataReader, TableIndex) Method

Definition

Returns the number of rows in the specified table.

public:
[System::Runtime::CompilerServices::Extension]
 static int GetTableRowCount(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::Ecma335::TableIndex tableIndex);
public static int GetTableRowCount (this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.Ecma335.TableIndex tableIndex);
static member GetTableRowCount : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.Ecma335.TableIndex -> int
<Extension()>
Public Function GetTableRowCount (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