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.

UITechnologyElement.GetRequestedState Method (AccessibleStates)


Returns the current state information for the given requested states for this element.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract AccessibleStates GetRequestedState(
	AccessibleStates requestedState


Type: System.Windows.Forms.AccessibleStates

One or more members of the AccessibleStates enumeration that are added together.

Return Value

Type: System.Windows.Forms.AccessibleStates

State information for each requested state if the technology supports it; otherwise, the complete state information for this element.

Return to top