BCGControlBar Library for .NET
Item Property (CommandBarCollection)




Gets a CommandBar at the specified index in the collection.
Syntax
'Declaration
 
Public Shadows Default Property Item( _
   ByVal index As Integer _
) As CommandBar
'Usage
 
Dim instance As CommandBarCollection
Dim index As Integer
Dim value As CommandBar
 
instance.Item(index) = value
 
value = instance.Item(index)
public new CommandBar this[ 
   int index
]; {get; set;}
public: __property new CommandBar* get_Item   int index
;
public: __property new void set_Item   int index,
   CommandBar* value
;
public:
new property CommandBar^ default [int] {
   CommandBar^ get(int index);
   void set (int indexCommandBar^ value);
}

Parameters

index
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

CommandBarCollection Class
CommandBarCollection Members

Send Feedback