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
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  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: String

The name of the property.

Return Value

Type: Object
The value of the specified property from the given control.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft