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)


Function GetPropertyForControlState ( _
    uiControl As UITestControl, _
    uiState As ControlStates, _
    <OutAttribute> ByRef stateValues As Boolean() _
) As String()
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[] 


  • 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

See Also


IUITestPropertyProvider Interface

IUITestPropertyProvider Members

Microsoft.VisualStudio.TestTools.UITesting Namespace