GetPropertyValue Method

UITestPropertyProvider.GetPropertyValue Method

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.

Community Additions

ADD
Show:
© 2016 Microsoft