Partilhar via


Propriedade TestElement.Priority

Obtém ou define a prioridade relativa desse elemento de teste.

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

Sintaxe

'Declaração
<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")> _
<GroupingPropertyAttribute> _
<PropertyWindowAttribute(PropertyConverterType.PriorityConverter)> _
Public Property Priority As Integer
    Get
    Set
[UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")]
[GroupingPropertyAttribute]
[PropertyWindowAttribute(PropertyConverterType.PriorityConverter)]
public int Priority { get; set; }
[UserVisiblePropertyAttribute(L"{8E14F374-EA8C-4c77-843B-B4075899F238}")]
[GroupingPropertyAttribute]
[PropertyWindowAttribute(PropertyConverterType::PriorityConverter)]
public:
virtual property int Priority {
    int get () sealed;
    void set (int value) sealed;
}
[<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")>]
[<GroupingPropertyAttribute>]
[<PropertyWindowAttribute(PropertyConverterType.PriorityConverter)>]
abstract Priority : int with get, set
[<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")>]
[<GroupingPropertyAttribute>]
[<PropertyWindowAttribute(PropertyConverterType.PriorityConverter)>]
override Priority : int with get, set
final function get Priority () : int
final function set Priority (value : int)

Valor de propriedade

Tipo: System.Int32
A prioridade relativa desse elemento de teste.

Implementações

ITestElement.Priority

Segurança do .NET Framework

Consulte também

Referência

TestElement Classe

Namespace Microsoft.VisualStudio.TestTools.Common