共用方式為


TestMethodAttribute Constructor

Initializes a new instance of the TestMethodAttribute class.

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

Syntax

'Declaration
Public Sub New
public TestMethodAttribute()
public:
TestMethodAttribute()
new : unit -> TestMethodAttribute
public function TestMethodAttribute()

.NET Framework Security

See Also

Reference

TestMethodAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace