共用方式為


PriorityAttribute.Priority Property

Gets the priority value.

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

Syntax

'Declaration
Public ReadOnly Property Priority As Integer
public int Priority { get; }
public:
property int Priority {
    int get ();
}
member Priority : int with get
function get Priority () : int

Property Value

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