Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataTables::GetColumnInfo method

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

ixTbl [in]

The index of the desired table.

ixCol [in]

The index of the desired column.

poCol [out]

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

pcbCol [out]

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

pType [out]

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

ppName [out]

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

IDL

Rometadataapi.idl

See also

IMetaDataTables

 

 

Show:
© 2017 Microsoft