Share via


SetStateAction Constructor (UITechnologyElement, Object)

Initializes a new instance of the SetStateAction 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 SetStateAction(
    UITechnologyElement uiElement,
    Object value
)
public:
SetStateAction(
    UITechnologyElement^ uiElement, 
    Object^ value
)
new : 
        uiElement:UITechnologyElement * 
        value:Object -> SetStateAction
public function SetStateAction(
    uiElement : UITechnologyElement, 
    value : Object
)

Parameters

  • value
    Type: Object

    An Object that represents the value this action will apply.

.NET Framework Security

See Also

Reference

SetStateAction Class

SetStateAction Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITechnologyElement