Share via


DescriptionAttribute Constructor

Initializes a new instance of the DescriptionAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    description As String _
)
public DescriptionAttribute(
    string description
)
public:
DescriptionAttribute(
    String^ description
)
new : 
        description:string -> DescriptionAttribute
public function DescriptionAttribute(
    description : String
)

Parameters

  • description
    Type: System.String
    A short explanation of the test.

Remarks

There is no default value for the Description property. This must be set with the attribute.

.NET Framework Security

See Also

Reference

DescriptionAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace