Share via


TestElement.Priority Property

Gets or sets the relative priority of this test element.

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

Syntax

'Declaration
<GroupingPropertyAttribute> _
<PropertyWindowAttribute> _
<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")> _
Public Property Priority As Integer
'Usage
Dim instance As TestElement 
Dim value As Integer 

value = instance.Priority

instance.Priority = value
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")]
public int Priority { get; set; }
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute(L"{8E14F374-EA8C-4c77-843B-B4075899F238}")]
public:
virtual property int Priority {
    int get () sealed;
    void set (int value) sealed;
}
public final function get Priority () : int 
public final function set Priority (value : int)

Property Value

Type: System.Int32
The relative priority of this test element.

Implements

ITestElement.Priority

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace