当在派生类中重写时,返回给定控件的指定操作所使用的属性名称。
命名空间:  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
参数
- uiTestControl
 类型:Microsoft.VisualStudio.TestTools.UITesting.UITestControl
 UITestControl 。
- action
 类型:Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
 一个 UITestAction 对象。
返回值
类型:System.String
指定操作所使用的属性的名称。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。