ITestElement.Name 屬性

取得或設定這個測試項目的名稱。

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

語法

'宣告
Property Name As String
string Name { get; set; }
property String^ Name {
    String^ get ();
    void set (String^ value);
}
abstract Name : string with get, set
function get Name () : String
function set Name (value : String)

屬性值

型別:System.String
此測試項目的名稱。

.NET Framework 安全性

請參閱

參考

ITestElement 介面

Microsoft.VisualStudio.TestTools.Common 命名空間