TestResultMessage.TestName 屬性

取得或設定相關聯測試的名稱。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
<VisiblePropertyAttribute> _
Public Property TestName As String
[VisiblePropertyAttribute]
public string TestName { get; set; }
[VisiblePropertyAttribute]
public:
property String^ TestName {
    String^ get ();
    void set (String^ value);
}
[<VisiblePropertyAttribute>]
member TestName : string with get, set
function get TestName () : String
function set TestName (value : String)

屬性值

型別:System.String
相關聯測試的名稱。

.NET Framework 安全性

請參閱

參考

TestResultMessage 類別

Microsoft.VisualStudio.TestTools.Common 命名空間