ITestElement.SourceFileName 屬性

取得此項目之測試的路徑和檔案名稱。

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

語法

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

屬性值

型別:System.String
包含此項目之測試的路徑和檔案名稱。

.NET Framework 安全性

請參閱

參考

ITestElement 介面

Microsoft.VisualStudio.TestTools.Common 命名空間