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.

UITechnologyElementProxy::GetRequestedState Method (AccessibleStates)

 

Gets the current state information of this element for the given requested states.

If the element does not support querying only the selective states, it can return the complete state information.

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

public:
virtual AccessibleStates GetRequestedState(
	AccessibleStates requestedState
) override

Parameters

requestedState
Type: System.Windows.Forms::AccessibleStates

The states for which to check.

Return Value

Type: System.Windows.Forms::AccessibleStates

The information about the given requested state or complete state information.

Return to top
Show: