次の方法で共有


UITestPropertyProvider.GetControlSupportLevel メソッド

派生クラスでオーバーライドされた場合、指定されたコントロールに対するこのプロバイダーのサポート レベルを示す値を返します。

名前空間:  Microsoft.VisualStudio.TestTools.UITesting
アセンブリ:  Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll 内)

構文

'宣言
Public MustOverride Function GetControlSupportLevel ( _
    uiTestControl As UITestControl _
) As Integer
public abstract int GetControlSupportLevel(
    UITestControl uiTestControl
)
public:
virtual int GetControlSupportLevel(
    UITestControl^ uiTestControl
) abstract
abstract GetControlSupportLevel : 
        uiTestControl:UITestControl -> int 
public abstract function GetControlSupportLevel(
    uiTestControl : UITestControl
) : int

パラメーター

戻り値

型 : System.Int32
指定されたコントロールに対するこのプロバイダーのサポート レベル。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

UITestPropertyProvider クラス

Microsoft.VisualStudio.TestTools.UITesting 名前空間

UITestControl

その他の技術情報

Enable Coded UI Testing of Your Controls