_CommandBars.Item Property
Returns a CommandBar object from the CommandBars collection.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
ReadOnly Default Property Item ( _
Index As Object _
) As CommandBar
Get
'Usage
Dim instance As _CommandBars
Dim Index As Object
Dim value As CommandBar
value = instance(Index)
CommandBar this[
Object Index
] { get; }
Parameters
Index
Type: System.ObjectRequired Object. The name or index number of the object to be returned.
Property Value
Type: Microsoft.Office.Core.CommandBar