TestElement.ProjectName Property

Gets the name 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
<PropertyWindowAttribute> _
<GroupingPropertyAttribute> _
<UserVisiblePropertyAttribute("{E2EF333A-8029-4dbe-9BDE-434B1CF17A01}")> _
Public Overridable ReadOnly Property ProjectName As String
[PropertyWindowAttribute]
[GroupingPropertyAttribute]
[UserVisiblePropertyAttribute("{E2EF333A-8029-4dbe-9BDE-434B1CF17A01}")]
public virtual string ProjectName { get; }
[PropertyWindowAttribute]
[GroupingPropertyAttribute]
[UserVisiblePropertyAttribute(L"{E2EF333A-8029-4dbe-9BDE-434B1CF17A01}")]
public:
virtual property String^ ProjectName {
    String^ get ();
}
[<PropertyWindowAttribute>]
[<GroupingPropertyAttribute>]
[<UserVisiblePropertyAttribute("{E2EF333A-8029-4dbe-9BDE-434B1CF17A01}")>]
abstract ProjectName : string with get
[<PropertyWindowAttribute>]
[<GroupingPropertyAttribute>]
[<UserVisiblePropertyAttribute("{E2EF333A-8029-4dbe-9BDE-434B1CF17A01}")>]
override ProjectName : string with get
function get ProjectName () : String

Property Value

Type: String

Implements

ITestElement.ProjectName

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace