BCGControlBar Library for .NET
RemoveButton(Int32) Method




An index of the toolbar button to remove.
Removes a toolbar button with the specified index from the command bar.
Syntax
'Declaration
 
Public Overloads Overridable Function RemoveButton( _
   ByVal index As Integer _
) As Boolean
'Usage
 
Dim instance As CommandBar
Dim index As Integer
Dim value As Boolean
 
value = instance.RemoveButton(index)
public virtual bool RemoveButton( 
   int index
)
public: virtual bool RemoveButton( 
   int index
) 
public:
virtual bool RemoveButton( 
   int index
) 

Parameters

index
An index of the toolbar button to remove.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandBar Class
CommandBar Members
Overload List

Send Feedback