SetValueAction Constructor (UITechnologyElement, Object)
Initializes a new instance of the SetValueAction class by using the provided element and value.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
uiElement As UITechnologyElement, _
value As Object _
)
public SetValueAction(
UITechnologyElement uiElement,
Object value
)
public:
SetValueAction(
UITechnologyElement^ uiElement,
Object^ value
)
new :
uiElement:UITechnologyElement *
value:Object -> SetValueAction
public function SetValueAction(
uiElement : UITechnologyElement,
value : Object
)
Parameters
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object.
value
Type: ObjectA Object that represents the value to set.
.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.