InformationNodeConverters.AddAssociatedWorkItems Method (IBuildInformation, array<WorkItem )
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)
Syntax
'Declaración
<ExtensionAttribute> _
Public Shared Function AddAssociatedWorkItems ( _
buildInformation As IBuildInformation, _
workItems As WorkItem() _
) As List(Of IWorkItemSummary)
public static List<IWorkItemSummary> AddAssociatedWorkItems(
this IBuildInformation buildInformation,
WorkItem[] workItems
)
[ExtensionAttribute]
public:
static List<IWorkItemSummary^>^ AddAssociatedWorkItems(
IBuildInformation^ buildInformation,
array<WorkItem^>^ workItems
)
static member AddAssociatedWorkItems :
buildInformation:IBuildInformation *
workItems:WorkItem[] -> List<IWorkItemSummary>
public static function AddAssociatedWorkItems(
buildInformation : IBuildInformation,
workItems : WorkItem[]
) : List<IWorkItemSummary>
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).
.NET Framework Security
- 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.
See Also
Reference
InformationNodeConverters Class