We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

UITestBuilderButton Class

Visual Studio 2010

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a container for the properties of a button in the Coded UI Test Builder.


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

public ref class UITestBuilderButton

The UITestBuilderButton type exposes the following members.

Public methodUITestBuilderButtonInitializes a new instance of the UITestBuilderButton class.

Public propertyAcceleratorKeyGets or sets the keyboard shortcut key.
Public propertyImageGets or sets the image to display on the button.
Public propertyNameGets or sets the name of the button.
Public propertyTooltipGets or sets the tooltip to use for the button.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.