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.GetPropertyValue Method (UITestControl, String)

 

When overridden in a derived class, returns the value of the specified property from the given control.

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

public abstract object GetPropertyValue(
	UITestControl uiTestControl,
	string propertyName
)

Parameters

uiTestControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

A UITestControl control.

propertyName
Type: System.String

The name of the property.

Return Value

Type: System.Object

The value of the specified property from the given control.

Return to top
Show: