Share via


TestElement.SourceFileName Property

Gets the path and file name for the test that contains this element.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<VisiblePropertyAttribute> _
Public Property SourceFileName As String
'Usage
Dim instance As TestElement 
Dim value As String 

value = instance.SourceFileName

instance.SourceFileName = value
[VisiblePropertyAttribute]
public string SourceFileName { get; set; }
[VisiblePropertyAttribute]
public:
virtual property String^ SourceFileName {
    String^ get () sealed;
    void set (String^ value) sealed;
}
public final function get SourceFileName () : String 
public final function set SourceFileName (value : String)

Property Value

Type: System.String
The path and file name for the test that contains this element.

Implements

ITestElement.SourceFileName

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace