共用方式為


DescriptionAttribute(String) Constructor

Definition

Initializes a new instance of the DescriptionAttribute class to describe a test.

public:
 DescriptionAttribute(System::String ^ description);
public DescriptionAttribute (string description);
new Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute : string -> Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute
Public Sub New (description As String)

Parameters

description
String

The description.

Applies to