Udostępnij za pośrednictwem


Właściwość ITestElement.SourceFileName —

Pobiera ścieżkę i nazwę pliku dla testu, który zawiera ten element.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
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)

Wartość właściwości

Typ: System.String
Ścieżka i nazwa testu, który zawiera ten element.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITestElement Interfejs

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common