MetadataTokens.TryGetHeapIndex(HandleKind, HeapIndex) Methode

Definition

Ruft den HeapIndex Heap ab, der dem angegebenen heap HandleKindentspricht.

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

Parameter

type
HandleKind

Handle type.

index
HeapIndex

Heap-Index.

Gibt zurück

true wenn der Handletyp einem Ecma335-Heap entspricht; false Andernfalls.

Gilt für: