Version

GetItem Method (ToolbarManagerReplayServer)

Returns the caption of the toolbar tool specified by its index.
Syntax
'Declaration
 
Public Function GetItem( _
   ByVal toolbar As System.Object, _
   ByVal Index As System.Integer _
) As System.String
public System.string GetItem( 
   System.object toolbar,
   System.int Index
)

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.
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