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
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.