次の方法で共有


AssertAction.ExpectedValue プロパティ

予測される値を string として取得します。

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

構文

'宣言
Public Overrides Property ExpectedValue As String
public override string ExpectedValue { get; set; }
public:
virtual property String^ ExpectedValue {
    String^ get () override;
    void set (String^ value) override;
}
abstract ExpectedValue : string with get, set
override ExpectedValue : string with get, set
override function get ExpectedValue () : String
override function set ExpectedValue (value : String)

プロパティ値

型 : System.String
文字列としての値。

.NET Framework セキュリティ

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

参照

関連項目

AssertAction クラス

Microsoft.VisualStudio.TestTools.UITest.Common 名前空間