UITestPropertyProvider.GetPropertyForAction 方法

当在派生类中重写时,返回给定控件的指定操作所使用的属性名称。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
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

参数

返回值

类型:System.String
指定操作所使用的属性的名称。

.NET Framework 安全性

请参见

参考

UITestPropertyProvider 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间

UITestControl

UITestAction