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
[<UserVisiblePropertyAttribute("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")>]
[<PropertyWindowAttribute>]
override ProjectRelativePath : string
function get ProjectRelativePath () : String
Property Value
Type: System.String
The relative path of the test project that contains this test element.
Implements
ITestElement.ProjectRelativePath
.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.