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
- 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.
Implements
IUITechnologyElement.GetRequestedState(AccessibleStates)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.