Bagikan melalui


MetadataReaderExtensions.GetTableRowCount(MetadataReader, TableIndex) Metode

Definisi

Mengembalikan jumlah baris dalam tabel yang ditentukan.

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

Parameter

tableIndex
TableIndex

Mengembalikan

Pengecualian

readeradalah null.

tableIndex bukan indeks tabel yang valid.

Berlaku untuk