MetadataTokens.TryGetHeapIndex(HandleKind, HeapIndex) Metoda

Definicja

Pobiera stertę HeapIndex odpowiadającą określonej HandleKindwartości .

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 uchwytu.

index
HeapIndex

Indeks stert.

Zwraca

true jeśli typ uchwytu odpowiada stercie Ecma335; false Inaczej.

Dotyczy