Share via


TestElement.ProjectRelativePath Property

Gets the relative path of the test project that contains this test element.

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

Syntax

'Declaration
<UserVisiblePropertyAttribute("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")> _
<PropertyWindowAttribute> _
Public Overridable ReadOnly Property ProjectRelativePath As String
[UserVisiblePropertyAttribute("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")]
[PropertyWindowAttribute]
public virtual string ProjectRelativePath { get; }
[UserVisiblePropertyAttribute(L"{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")]
[PropertyWindowAttribute]
public:
virtual property String^ ProjectRelativePath {
    String^ get ();
}
[<UserVisiblePropertyAttribute("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")>]
[<PropertyWindowAttribute>]
abstract ProjectRelativePath : string with get
[<UserVisiblePropertyAttribute("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")>]
[<PropertyWindowAttribute>]
override ProjectRelativePath : string with get
function get ProjectRelativePath () : String

Property Value

Type: String
The relative path of the test project that contains this test element.

Implements

ITestElement.ProjectRelativePath

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace