Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Metadata Interfaces
 GetTableInfo Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework General Reference
IMetaDataTables::GetTableInfo Method

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

HRESULT GetTableInfo (
        [in]  ULONG       ixTbl,
        [out] ULONG       *pcbRow,
        [out] ULONG       *pcRows,
        [out] ULONG       *pcCols,
        [out] ULONG       *piKey,
        [out] const char  **ppName
);
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.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker