Bagikan melalui


MetadataReaderExtensions.GetHeapSize(MetadataReader, HeapIndex) Metode

Definisi

Mengembalikan ukuran timbunan yang ditentukan.

public:
[System::Runtime::CompilerServices::Extension]
 static int GetHeapSize(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::Ecma335::HeapIndex heapIndex);
public static int GetHeapSize (this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.Ecma335.HeapIndex heapIndex);
static member GetHeapSize : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.Ecma335.HeapIndex -> int
<Extension()>
Public Function GetHeapSize (reader As MetadataReader, heapIndex As HeapIndex) As Integer

Parameter

heapIndex
HeapIndex

Mengembalikan

Pengecualian

readeradalah null.

heapIndex bukan indeks timbunan yang valid.

Berlaku untuk