UITestAction.UIElement Property

Gets or sets the UI element on which this action operates.

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

Syntax

'Declaration
Public Property UIElement As UITechnologyElement
public UITechnologyElement UIElement { get; set; }
public:
property UITechnologyElement^ UIElement {
    UITechnologyElement^ get ();
    void set (UITechnologyElement^ value);
}
member UIElement : UITechnologyElement with get, set
function get UIElement () : UITechnologyElement 
function set UIElement (value : UITechnologyElement)

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
The associated UI element, or nulla null reference (Nothing in Visual Basic) during low-level recording where no object recognition occurs.

Remarks

Raises the PropertyChanged event when the value is set.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged