Share via


ITestElement.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
Property SourceFileName As String
'Usage
Dim instance As ITestElement 
Dim value As String 

value = instance.SourceFileName

instance.SourceFileName = value
string SourceFileName { get; set; }
property String^ SourceFileName {
    String^ get ();
    void set (String^ value);
}
function get SourceFileName () : String 
function set SourceFileName (value : String)

Property Value

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

.NET Framework Security

See Also

Reference

ITestElement Interface

ITestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace