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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.