Partager via


TestMethodAttribute Constructors

Definition

Overloads

TestMethodAttribute()

Initializes a new instance of the TestMethodAttribute class.

TestMethodAttribute(String)

Initializes a new instance of the TestMethodAttribute class.

TestMethodAttribute()

Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs

Initializes a new instance of the TestMethodAttribute class.

public TestMethodAttribute ();
Public Sub New ()

Applies to

TestMethodAttribute(String)

Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs
Source:
TestMethodAttribute.cs

Initializes a new instance of the TestMethodAttribute class.

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

Parameters

displayName
String

Display name for the test.

Applies to