Partilhar via


IMetaDataTables::GetColumnInfo Method

Gets data about the specified column in the specified table.

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

Parameters

Parameter Description

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.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataTables Interface
IMetaDataTables2 Interface