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)

Syntax

'Declaration
Function GetRequestedState ( _
    requestedState As AccessibleStates _
) As AccessibleStates
AccessibleStates GetRequestedState(
    AccessibleStates requestedState
)
AccessibleStates GetRequestedState(
    AccessibleStates requestedState
)
abstract GetRequestedState : 
        requestedState:AccessibleStates -> AccessibleStates
function GetRequestedState(
    requestedState : AccessibleStates
) : AccessibleStates

Parameters

  • requestedState
    Type: AccessibleStates

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

Return Value

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

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

AccessibleStates