Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object.
value
Type: ObjectAn Object that represents the value this action will apply.
.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.