Returns the caption of the toolbar tool specified by its index.
'Declaration
Public Function GetItem( _
ByVal As System.Object, _
ByVal As System.Integer _
) As System.String
public System.string GetItem(
System.object ,
System.int
)
Parameters
- toolbar
- The key of the taskpane toolbar
- Index
- Numeric index of the toolbar tool. Index values begin with 0.
Return Value
The Caption property of the specified tool.
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