TestElement.Priority 属性

获取或设置此测试元素的相对优先级别。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F238}")> _
<GroupingPropertyAttribute> _
<PropertyWindowAttribute(PropertyConverterType.PriorityConverter)> _
Public Property Priority As Integer
[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)

属性值

类型:System.Int32
此测试元素的相对优先级别。

实现

ITestElement.Priority

.NET Framework 安全性

请参见

参考

TestElement 类

Microsoft.VisualStudio.TestTools.Common 命名空间