IMetaDataTables::GetTableIndex method (rometadataapi.h)

Gets the index for the table referenced by the specified token.

Syntax

HRESULT GetTableIndex(
  [in]  ULONG token,
  [out] ULONG *pixTbl
);

Parameters

[in] token

The token that references the table.

[out] pixTbl

A pointer to the returned index for the referenced table.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

We do not recommend the use of this method, because it does not return consistent results. For information about the GUID table, see the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics". For more info, see ECMA C# and Common Language Infrastructure Standards and Standard ECMA-335 - Common Language Infrastructure (CLI) on the Ecma International Web site.

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataTables