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
[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)
Property Value
Type: String
The path and file name for the test that contains this element.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.