Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestPropertyProvider::SetPropertyValue Method (UITestControl^, String^, Object^)

 

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:
virtual void SetPropertyValue(
	UITestControl^ uiTestControl,
	String^ propertyName,
	Object^ value
) abstract

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.

Exception Condition
NotSupportedException

This property provider does not support the specified property.

Return to top
Show: