UITestBuilderExtension.GetButton Method

When overridden in a derived class, gets the property container for a button in the Coded UI Test Builder extension.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public MustOverride Function GetButton As UITestBuilderButton
public abstract UITestBuilderButton GetButton()
public:
virtual UITestBuilderButton^ GetButton() abstract
abstract GetButton : unit -> UITestBuilderButton 
public abstract function GetButton() : UITestBuilderButton

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestBuilderButton
A UITestBuilderButton that contains all the properties and values of the requested button.

.NET Framework Security

See Also

Reference

UITestBuilderExtension Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITestBuilderButton