Partager via


TestElement.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
<VisiblePropertyAttribute> _
Public Property SourceFileName As String
    Get
    Set
[VisiblePropertyAttribute]
public string SourceFileName { get; set; }
[VisiblePropertyAttribute]
public:
virtual property String^ SourceFileName {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<VisiblePropertyAttribute>]
abstract SourceFileName : string with get, set
[<VisiblePropertyAttribute>]
override SourceFileName : string with get, set
final function get SourceFileName () : String
final 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.

Implémentations

ITestElement.SourceFileName

Sécurité .NET Framework

Voir aussi

Référence

TestElement Classe

Microsoft.VisualStudio.TestTools.Common, espace de noms