UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
GetButton Method (IToolBar)
Example 
The text.
Returns the button with the specified text.
Syntax
IToolBarButton GetButton( 
   string text
)

Parameters

text
The text.
Example
// Clicking the JEditorPane button displays the editor test object.
toolBar.GetButton("JEditorPane").Press();