Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.79 KB

imetadatatables-gettableinfo-method.md

File metadata and controls

70 lines (53 loc) · 1.79 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: IMetaDataTables::GetTableInfo Method
IMetaDataTables::GetTableInfo Method
03/30/2017
IMetaDataTables.GetTableInfo
mscoree.dll
COM
IMetaDataTables::GetTableInfo
IMetaDataTables::GetTableInfo method [.NET Framework metadata]
GetTableInfo method [.NET Framework metadata]
50cbe557-2322-41aa-8e0d-f967602eaa0f
apiref

IMetaDataTables::GetTableInfo Method

Gets the name, row size, number of rows, number of columns, and key column index of the specified table.

Syntax

HRESULT GetTableInfo (  
    [in]  ULONG       ixTbl,  
    [out] ULONG       *pcbRow,  
    [out] ULONG       *pcRows,  
    [out] ULONG       *pcCols,  
    [out] ULONG       *piKey,  
    [out] const char  **ppName  
);  

Parameters

ixTbl
[in] The identifier of the table whose properties to return.

pcbRow
[out] A pointer to the size, in bytes, of a table row.

pcRows
[out] A pointer to the number of rows in the table.

pcCols
[out] A pointer to the number of columns in the table.

piKey
[out] A pointer to the index of the key column, or -1 if the table has no key column.

ppName
[out] A pointer to a pointer to the table name.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: [!INCLUDEnet_current_v10plus]

See also