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
'Usage
Dim instance As TestElement
Dim value As String
value = instance.ProjectName
[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 ();
}
public function get ProjectName () : String
Property Value
Type: System.String
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.