UITestPropertyProvider.SetPropertyValue Method

When overridden in a derived class, sets the specified property of the given control with the provided value.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public abstract void SetPropertyValue(
	UITestControl uiTestControl,
	string propertyName,
	Object value
)

Parameters

uiTestControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A UITestControl control.
propertyName
Type: System.String
The name of the property.
value
Type: System.Object
The value for the property.

ExceptionCondition
[NotSupportedException]

This property provider does not support the specified property.

Community Additions

ADD
Show: