Export (0) Print
Expand All

InformationNodeConverters.AddOpenedWorkItems Method (IBuildInformation, WorkItem[])

Adds associated open work item summaries with the specified build information object. Does not save to the server.

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

public static List<IWorkItemSummary> AddOpenedWorkItems(
	this IBuildInformation buildInformation,
	WorkItem[] workItems


Type: Microsoft.TeamFoundation.Build.Client.IBuildInformation

The build information object to which the opened work items will be added.

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

The opened work items to be associated with the build.

Return Value

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBuildInformation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

© 2014 Microsoft