This documentation is archived and is not being maintained.
InformationNodeConverters::AddAssociatedWorkItems Method (IBuildInformation, array<WorkItem>)
Visual Studio 2013
Adds associates summaries of work items 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)
[ExtensionAttribute] public: static List<IWorkItemSummary^>^ AddAssociatedWorkItems( IBuildInformation^ buildInformation, array<WorkItem^>^ workItems )
Parameters
- buildInformation
- Type: Microsoft.TeamFoundation.Build.Client::IBuildInformation
The build information object to which the work item summaries will be added.
- workItems
- Type: array<Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItem>
The work items to be associated.
Return Value
Type: System.Collections.Generic::List<IWorkItemSummary>The associated 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).- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: