Share via


CommandBarControls.Item Property

Returns a CommandBarControl object from the CommandBarControls collection.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    Index As Object _
) As CommandBarControl
    Get
'Usage
Dim instance As CommandBarControls
Dim Index As Object
Dim value As CommandBarControl

value = instance(Index)
CommandBarControl this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Required Object. The name or index number of the object to be returned.

Property Value

Type: Microsoft.Office.Core.CommandBarControl

See Also

Reference

CommandBarControls Interface

CommandBarControls Members

Microsoft.Office.Core Namespace