IHeaderCtrl::DeleteColumn method (mmc.h)
Removes a column from the header of the result view.
Syntax
HRESULT DeleteColumn(
[in] int nCol
);
Parameters
[in] nCol
A zero-based index that identifies the column to be removed.
Return value
This method can return one of these values.
Remarks
If a column is removed, all columns with indexes greater than the one removed are adjusted down by one.
MMC does not persist in memory any changes made to a column set due to the action of IHeaderCtrl::DeleteColumn, so snap-ins must update persisted column configuration data after deleting columns from a column set. For more information, see IHeaderCtrl2 and Column Persistence.
Notes to Callers
This method returns E_FAIL when an item has already been inserted into the result view.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |
DLL | Mmcndmgr.dll |