Partager via


TestElement.Description Property

Gets or sets a description of this test element.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<UserVisiblePropertyAttribute("{B65344DF-319D-4a50-B8FB-0292317C6E8A}")> _
<GroupingPropertyAttribute> _
<PropertyWindowAttribute> _
Public Overridable Property Description As String
[UserVisiblePropertyAttribute("{B65344DF-319D-4a50-B8FB-0292317C6E8A}")]
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
public virtual string Description { get; set; }
[UserVisiblePropertyAttribute(L"{B65344DF-319D-4a50-B8FB-0292317C6E8A}")]
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
public:
virtual property String^ Description {
    String^ get ();
    void set (String^ value);
}
[<UserVisiblePropertyAttribute("{B65344DF-319D-4a50-B8FB-0292317C6E8A}")>]
[<GroupingPropertyAttribute>]
[<PropertyWindowAttribute>]
abstract Description : string with get, set
[<UserVisiblePropertyAttribute("{B65344DF-319D-4a50-B8FB-0292317C6E8A}")>]
[<GroupingPropertyAttribute>]
[<PropertyWindowAttribute>]
override Description : string with get, set
function get Description () : String 
function set Description (value : String)

Property Value

Type: String
A description of this test element.

Implements

ITestElement.Description

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace