Partager via


MetadataReaderExtensions.GetHeapSize(MetadataReader, HeapIndex) Méthode

Définition

Retourne la taille du tas spécifié.

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

Paramètres

heapIndex
HeapIndex

Retours

Exceptions

reader a la valeur null.

heapIndex n’est pas un index de segment de mémoire valide.

S’applique à