UITestPropertyProvider.GetPropertyForAction Method
When overridden in a derived class, returns the name of the property that is used by the specified action on the given control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public MustOverride Function GetPropertyForAction ( _
uiTestControl As UITestControl, _
action As UITestAction _
) As String
public abstract string GetPropertyForAction(
UITestControl uiTestControl,
UITestAction action
)
public:
virtual String^ GetPropertyForAction(
UITestControl^ uiTestControl,
UITestAction^ action
) abstract
abstract GetPropertyForAction :
uiTestControl:UITestControl *
action:UITestAction -> string
public abstract function GetPropertyForAction(
uiTestControl : UITestControl,
action : UITestAction
) : String
Parameters
uiTestControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
Return Value
Type: String
The name of the property that is used by the specified 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
Microsoft.VisualStudio.TestTools.UITesting Namespace