Sdílet prostřednictvím


MetadataTokens.TryGetHeapIndex(HandleKind, HeapIndex) Metoda

Definice

Získá z HeapIndex haldy odpovídající zadané HandleKind.

public:
 static bool TryGetHeapIndex(System::Reflection::Metadata::HandleKind type, [Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::HeapIndex % index);
public static bool TryGetHeapIndex (System.Reflection.Metadata.HandleKind type, out System.Reflection.Metadata.Ecma335.HeapIndex index);
static member TryGetHeapIndex : System.Reflection.Metadata.HandleKind * HeapIndex -> bool
Public Function TryGetHeapIndex (type As HandleKind, ByRef index As HeapIndex) As Boolean

Parametry

type
HandleKind

Typ popisovače

index
HeapIndex

Index haldy.

Návraty

true pokud typ popisovače odpovídá haldě Ecma335; false Jinak.

Platí pro