IToolbar::DeleteButton method (mmc.h)

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

Syntax

HRESULT DeleteButton(
  int nIndex
);

Parameters

nIndex

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

Return value

This method can return one of these values.

Requirements

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

See also

IToolbar