次の方法で共有


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