IColumnManager::GetColumnCount method
Gets the column count for either the visible columns or the complete set of columns.
Syntax
HRESULT GetColumnCount(
[in] CM_ENUM_FLAGS dwFlags,
[out] UINT *puCount
);
Parameters
- dwFlags [in]
-
Type: CM_ENUM_FLAGS
A value from the CM_ENUM_FLAGS enumeration that specifies whether to show only visible columns or all columns regardless of visibility.
- puCount [out]
-
Type: UINT*
Contains a pointer to the column count.
Return value
Type: HRESULT
Always returns S_OK.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Show: