InformationNodeConverters.AddAssociatedWorkItems Method (IBuildDetail, WorkItem[])

Adds associated work item summaries to the specified build. Saves to the server.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

public static List<IWorkItemSummary> AddAssociatedWorkItems(
	IBuildDetail build,
	WorkItem[] workItems
)

Parameters

build
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail

The build to which the work item summaries will be added.

workItems
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem[]

The work items to be associated.

Return Value

Type: System.Collections.Generic.List<IWorkItemSummary>
The added associated work item summaries.

Show: