Share via


TestMethodAttribute Constructor

Definition

Initializes a new instance of the TestMethodAttribute class.

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

Applies to