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

  • 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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

IMetaDataTables Interface

IMetaDataTables2 Interface