共用方式為


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 命名空間