MetadataReaderExtensions.GetHeapMetadataOffset Méthode

Définition

Retourne le décalage du début des métadonnées au tas spécifié.

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