IColumnManager::SetColumnInfo method
Sets the state for a specified column.
Syntax
HRESULT SetColumnInfo( [in] REFPROPERTYKEY propkey, [in] const CM_COLUMNINFO *pcmci );
Parameters
- propkey [in]
-
Type: REFPROPERTYKEY
A reference to a PROPERTYKEY structure that identifies the column.
- pcmci [in]
-
Type: const CM_COLUMNINFO*
A pointer to a CM_COLUMNINFO structure that contains the state to set for this column.
Return value
Type: HRESULT
Returns one of the following values.
| Return code | Description |
|---|---|
|
Column state set. |
|
Column state not set. |
|
The pcmci parameter is NULL. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Show: