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
Assembly:  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

Return Value

Type: System.String
The name of the property that is used by the specified action.

.NET Framework Security

See Also

Reference

UITestPropertyProvider Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

UITestAction

Other Resources

Enable Coded UI Testing of Your Custom Controls