UITechnologyElement.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
Public MustOverride Function GetRequestedState ( _
    requestedState As AccessibleStates _
) As AccessibleStates
public abstract AccessibleStates GetRequestedState(
    AccessibleStates requestedState
)
public:
virtual AccessibleStates GetRequestedState(
    AccessibleStates requestedState
) abstract
abstract GetRequestedState : 
        requestedState:AccessibleStates -> AccessibleStates 
public abstract function GetRequestedState(
    requestedState : AccessibleStates
) : AccessibleStates

Parameters

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.

Implements

IUITechnologyElement.GetRequestedState(AccessibleStates)

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

AccessibleStates