Partager via


InvokeAction.SourceElement Property

Element on which the actual action happened. For example, on an image list item, the actual action happens on a image but invoke if fired on the item.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement

.NET Framework Security

See Also

Reference

InvokeAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace