IMetaDataTables::GetColumnInfo method (rometadataapi.h)

Gets data about the specified column in the specified table.

Syntax

HRESULT GetColumnInfo(
  [in]  ULONG  ixTbl,
  [in]  ULONG  ixCol,
  [out] ULONG  *poCol,
  [out] ULONG  *pcbCol,
  [out] ULONG  *pType,
  [out] LPCSTR *ppName
);

Parameters

[in] ixTbl

The index of the desired table.

[in] ixCol

The index of the desired column.

[out] poCol

A pointer to the offset of the column in the row.

[out] pcbCol

A pointer to the size, in bytes, of the column.

[out] pType

A pointer to the type of the values in the column.

[out] ppName

A pointer to a pointer to the column name.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataTables