BCGControlBar Library for .NET
AddToItemList(Int32,String) Method




The identifier of the command button in List
The text on the command button.
Syntax
'Declaration
 
Public Overloads Function AddToItemList( _
   ByVal itemListID As Integer, _
   ByVal itemText As String _
) As ToolbarMenuButton
'Usage
 
Dim instance As CommandBarManager
Dim itemListID As Integer
Dim itemText As String
Dim value As ToolbarMenuButton
 
value = instance.AddToItemList(itemListID, itemText)
public ToolbarMenuButton AddToItemList( 
   int itemListID,
   string itemText
)
public: ToolbarMenuButton* AddToItemList( 
   int itemListID,
   string* itemText
) 
public:
ToolbarMenuButton^ AddToItemList( 
   int itemListID,
   String^ itemText
) 

Parameters

itemListID
The identifier of the command button in List
itemText
The text on the command button.
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
Overload List

Send Feedback