UITestAction Constructor (UITechnologyElement)
Initializes a new instance of the UITestAction class by using the provided UI element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
uiElement As UITechnologyElement _
)
protected UITestAction(
UITechnologyElement uiElement
)
protected:
UITestAction(
UITechnologyElement^ uiElement
)
new :
uiElement:UITechnologyElement -> UITestAction
protected function UITestAction(
uiElement : UITechnologyElement
)
Parameters
- uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
A UITechnologyElement object that represents an element in the UI.
.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.