共用方式為


TestPropertyAttribute(String, String) Constructor

Definition

Initializes a new instance of the TestPropertyAttribute class.

public:
 TestPropertyAttribute(System::String ^ name, System::String ^ value);
public TestPropertyAttribute (string name, string value);
new Microsoft.VisualStudio.TestTools.UnitTesting.TestPropertyAttribute : string * string -> Microsoft.VisualStudio.TestTools.UnitTesting.TestPropertyAttribute
Public Sub New (name As String, value As String)

Parameters

name
String

The name.

value
String

The value.

Applies to