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: AccessibleStatesOne 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
- 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.
See Also
Reference
IUITechnologyElement Interface