BCGControlBar Library for .NET
FindAllButtons Method (CommandBarManager)




The command identifier of the buttons to return.
Specifies if the changes made during customization are not taken into consideration.
Returns an array list of toolbar buttons with the same specified command identifier from all of the command bars.
Syntax
'Declaration
 
Public Function FindAllButtons( _
   ByVal commandID As Integer, _
   ByVal originalState As Boolean _
) As ArrayList
'Usage
 
Dim instance As CommandBarManager
Dim commandID As Integer
Dim originalState As Boolean
Dim value As ArrayList
 
value = instance.FindAllButtons(commandID, originalState)
public ArrayList FindAllButtons( 
   int commandID,
   bool originalState
)
public: ArrayList* FindAllButtons( 
   int commandID,
   bool originalState
) 
public:
ArrayList^ FindAllButtons( 
   int commandID,
   bool originalState
) 

Parameters

commandID
The command identifier of the buttons to return.
originalState
Specifies if the changes made during customization are not taken into consideration.
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

CommandBarManager Class
CommandBarManager Members

Send Feedback