IUITestPropertyProvider.GetPropertyForAction 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 action.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Function GetPropertyForAction ( _
uiControl As UITestControl, _
action As UITestAction _
) As String
'Usage
Dim instance As IUITestPropertyProvider
Dim uiControl As UITestControl
Dim action As UITestAction
Dim returnValue As String
returnValue = instance.GetPropertyForAction(uiControl, _
action)
string GetPropertyForAction(
UITestControl uiControl,
UITestAction action
)
String^ GetPropertyForAction(
UITestControl^ uiControl,
UITestAction^ action
)
function GetPropertyForAction(
uiControl : UITestControl,
action : UITestAction
) : String
abstract GetPropertyForAction :
uiControl:UITestControl *
action:UITestAction -> string
Parameters
- uiControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The control upon which the action was performed.
- action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
Action for which the property is required.
Return Value
Type: System.String
The writable property name for the action.
.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