共用方式為


PriorityAttribute Constructor

Initializes a new instance of the PriorityAttribute class that has a priority value.

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

Syntax

'Declaration
Public Sub New ( _
    priority As Integer _
)
public PriorityAttribute(
    int priority
)
public:
PriorityAttribute(
    int priority
)
new : 
        priority:int -> PriorityAttribute
public function PriorityAttribute(
    priority : int
)

Parameters

  • priority
    Type: Int32

    An integer that represents the priority value for the test.

.NET Framework Security

See Also

Reference

PriorityAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace