Sdílet prostřednictvím


TestElement.Priority Property

Definition

Gets or sets the relative priority of this test element.

public:
 property int Priority { int get(); void set(int value); };
[Microsoft.VisualStudio.TestTools.Common.GroupingProperty]
[Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Priority_PropertyDescription")]
[Microsoft.VisualStudio.TestTools.Common.PropertyWindow(Microsoft.VisualStudio.TestTools.Common.PropertyConverterType.PriorityConverter)]
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Priority")]
[Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{8E14F374-EA8C-4c77-843B-B4075899F238}")]
[System.ComponentModel.DefaultValue(2147483647)]
public int Priority { get; set; }
[<Microsoft.VisualStudio.TestTools.Common.GroupingProperty>]
[<Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Priority_PropertyDescription")>]
[<Microsoft.VisualStudio.TestTools.Common.PropertyWindow(Microsoft.VisualStudio.TestTools.Common.PropertyConverterType.PriorityConverter)>]
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_Priority")>]
[<Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{8E14F374-EA8C-4c77-843B-B4075899F238}")>]
[<System.ComponentModel.DefaultValue(2147483647)>]
member this.Priority : int with get, set
Public Property Priority As Integer

Property Value

The relative priority of this test element.

Implements

Attributes

Applies to