Condividi tramite


Proprietà TestElement.SourceFileName

Ottiene il percorso e il nome file per il test che contiene questo elemento.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Sintassi

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

Valore proprietà

Tipo: System.String
Il percorso e il nome file per il test che contiene questo elemento.

Implementa

ITestElement.SourceFileName

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestElement Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common