InformationNodeConverters.AddOpenedWorkItems 方法 (IBuildInformation, array<WorkItem[])

將具有指定之組建資訊物件關聯的開啟的工作項目摘要。無法儲存至伺服器。

命名空間:  Microsoft.TeamFoundation.Build.Client
組件:  Microsoft.TeamFoundation.Build.Client (在 Microsoft.TeamFoundation.Build.Client.dll 中)

語法

'宣告
<ExtensionAttribute> _
Public Shared Function AddOpenedWorkItems ( _
    buildInformation As IBuildInformation, _
    workItems As WorkItem() _
) As List(Of IWorkItemSummary)
public static List<IWorkItemSummary> AddOpenedWorkItems(
    this IBuildInformation buildInformation,
    WorkItem[] workItems
)

參數

傳回值

類型:System.Collections.Generic.List<IWorkItemSummary>
聯結開啟的工作項目摘要。

使用注意事項

在 Visual Basic 和 C# 中,您可以在任何 IBuildInformation 類型物件中呼叫這個方法以做為執行個體。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱擴充方法 (Visual Basic)擴充方法 (C# 程式設計手冊)

.NET Framework 安全性

請參閱

參考

InformationNodeConverters 類別

AddOpenedWorkItems 多載

Microsoft.TeamFoundation.Build.Client 命名空間