IToolbar::DeleteButton method (mmc.h)

The IToolbar::DeleteButton method enables a snap-in to remove a specified toolbar button.

Syntax

HRESULT DeleteButton(
  [in] int nIndex
);

Parameters

[in] nIndex

An index of the button to be removed from the toolbar.

Return value

This method can return one of these values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IToolbar