Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
<PropertyWindowAttribute> _
<GroupingPropertyAttribute> _
<UserVisiblePropertyAttribute("{E2EF333A-8029-4dbe-9BDE-434B1CF17A01}")> _
Public Overridable ReadOnly Property ProjectName As String
'使用
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
Permissions
- 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.