ITestElement.SourceFileName 属性

获取包含该元素测试的路径和文件名。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Property SourceFileName As String
    Get
    Set
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 命名空间