TestElement.WorkItemIds 属性

获取或设置与此测试元素关联的工作项 ID 的列表。

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

语法

声明
<PropertyWindowAttribute(PropertyEditorType.WorkItemsPicker, PropertyConverterType.WorkItemListConverter)> _
Public Property WorkItemIds As IList
[PropertyWindowAttribute(PropertyEditorType.WorkItemsPicker, PropertyConverterType.WorkItemListConverter)]
public IList WorkItemIds { get; set; }
[PropertyWindowAttribute(PropertyEditorType::WorkItemsPicker, PropertyConverterType::WorkItemListConverter)]
public:
virtual property IList^ WorkItemIds {
    IList^ get () sealed;
    void set (IList^ value) sealed;
}
[<PropertyWindowAttribute(PropertyEditorType.WorkItemsPicker, PropertyConverterType.WorkItemListConverter)>]
abstract WorkItemIds : IList with get, set
[<PropertyWindowAttribute(PropertyEditorType.WorkItemsPicker, PropertyConverterType.WorkItemListConverter)>]
override WorkItemIds : IList with get, set
final function get WorkItemIds () : IList
final function set WorkItemIds (value : IList)

属性值

类型:System.Collections.IList
与此测试元素关联的工作项 ID 的列表。

实现

ITestElement.WorkItemIds

.NET Framework 安全性

请参见

参考

TestElement 类

Microsoft.VisualStudio.TestTools.Common 命名空间