Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UITestPropertyProvider.GetPropertyForControlState Method

When overridden in a derived class, returns an array of property names and an array of all state values for the given control that match the specified control state value.

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 string[] GetPropertyForControlState(
	UITestControl uiTestControl,
	ControlStates uiState,
	out bool[] stateValues
)

Parameters

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

A UITestControl control from which to get the property names.

uiState
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates

One of the ControlStates values.

stateValues
Type: System.Boolean[]

(Output) An array of Boolean values for the returned properties.

Return Value

Type: System.String[]
An array of property names for the given control that match the specified control state value.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.