IUITechnologyElement.GetRequestedState Method

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)

AccessibleStates GetRequestedState(
	AccessibleStates requestedState
)

Parameters

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.

Community Additions

ADD
Show: