IUITestPropertyProvider.GetPropertyForControlState Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the property name for the specified control state.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Function GetPropertyForControlState ( _
uiControl As UITestControl, _
uiState As ControlStates, _
<OutAttribute> ByRef stateValues As Boolean() _
) As String()
'Usage
Dim instance As IUITestPropertyProvider
Dim uiControl As UITestControl
Dim uiState As ControlStates
Dim stateValues As Boolean()
Dim returnValue As String()
returnValue = instance.GetPropertyForControlState(uiControl, _
uiState, stateValues)
string[] GetPropertyForControlState(
UITestControl uiControl,
ControlStates uiState,
out bool[] stateValues
)
array<String^>^ GetPropertyForControlState(
UITestControl^ uiControl,
ControlStates uiState,
[OutAttribute] array<bool>^% stateValues
)
function GetPropertyForControlState(
uiControl : UITestControl,
uiState : ControlStates,
stateValues : boolean[]
) : String[]
abstract GetPropertyForControlState :
uiControl:UITestControl *
uiState:ControlStates *
stateValues:bool[] -> string[]
Parameters
- uiControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The control for which the state property name is required.
- uiState
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates
States for which the property names are required.
- stateValues
Type: array<System.Boolean[]%
Property values for the properties returned.
Return Value
Type: array<System.String[]
The writable property names for the state.
.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
IUITestPropertyProvider Interface