Share via


MetadataTokens.TryGetTableIndex(HandleKind, TableIndex) メソッド

定義

指定した HandleKind に対応するテーブルの TableIndex を取得します。

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

パラメーター

type
HandleKind

ハンドル型。

index
TableIndex

テーブル インデックス。

戻り値

ハンドル型が Ecma335 またはポータブル PDB のテーブルに対応する場合は true。それ以外の場合は false

適用対象