BCGControlBar Library for .NET
Add Method (ToolbarButtonCollection)




The button to add to the collection.
Adds the specified ToolbarButton to the collection. if the button to add has a type of CustomizeButton it will be added at the end of the collection.
Syntax
'Declaration
 
Public Overrides Function Add( _
   ByVal object As Object _
) As Integer
'Usage
 
Dim instance As ToolbarButtonCollection
Dim object As Object
Dim value As Integer
 
value = instance.Add(object)
public override int Add( 
   object object
)
public: int Add( 
   Object* object
) override 
public:
int Add( 
   Object^ object
) override 

Parameters

object
The button to add to the collection.

Return Value

The position into which the new button was inserted.
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

ToolbarButtonCollection Class
ToolbarButtonCollection Members
Base Implementation in Add

Send Feedback