Sdílet prostřednictvím


TestElement.ProjectRelativePath Property

Definition

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

public:
 virtual property System::String ^ ProjectRelativePath { System::String ^ get(); };
[Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ProjectRelativePath_PropertyDescription")]
[Microsoft.VisualStudio.TestTools.Common.PropertyWindow]
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ProjectRelativePath")]
[Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")]
[System.ComponentModel.DefaultValue("")]
public virtual string ProjectRelativePath { get; }
[<Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ProjectRelativePath_PropertyDescription")>]
[<Microsoft.VisualStudio.TestTools.Common.PropertyWindow>]
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ProjectRelativePath")>]
[<Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{E0D317A6-6F41-455d-BD72-B4344CC5EC0B}")>]
[<System.ComponentModel.DefaultValue("")>]
member this.ProjectRelativePath : string
Public Overridable ReadOnly Property ProjectRelativePath As String

Property Value

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

Implements

Attributes

Applies to