Partager via


ITestElement.SourceFileName, propriété

Obtient le chemin d'accès et le nom de fichier pour le test qui contient cet élément.

Espace de noms :  Microsoft.VisualStudio.TestTools.Common
Assembly :  Microsoft.VisualStudio.QualityTools.Common (dans Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Déclaration
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)

Valeur de propriété

Type : System.String
Le chemin d'accès et le nom de fichier pour le test qui contient cet élément.

Sécurité .NET Framework

Voir aussi

Référence

ITestElement Interface

Microsoft.VisualStudio.TestTools.Common, espace de noms