InformationNodeConverters.AddAssociatedWorkItems Method (IBuildDetail, array<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)
Syntax
'Декларация
Public Shared Function AddAssociatedWorkItems ( _
build As IBuildDetail, _
workItems As WorkItem() _
) As List(Of IWorkItemSummary)
public static List<IWorkItemSummary> AddAssociatedWorkItems(
IBuildDetail build,
WorkItem[] workItems
)
public:
static List<IWorkItemSummary^>^ AddAssociatedWorkItems(
IBuildDetail^ build,
array<WorkItem^>^ workItems
)
static member AddAssociatedWorkItems :
build:IBuildDetail *
workItems:WorkItem[] -> List<IWorkItemSummary>
public static function AddAssociatedWorkItems(
build : IBuildDetail,
workItems : WorkItem[]
) : List<IWorkItemSummary>
Parameters
- build
Type: Microsoft.TeamFoundation.Build.Client.IBuildDetail
The build 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 added associated work item summaries.
.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