InformationNodeConverters.AddAssociatedChangesets Method (IBuildInformation, array<Changeset )

Adds an array of changesets to the specified build information.

Saves the modified build information to the server.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function AddAssociatedChangesets ( _
    buildInformation As IBuildInformation, _
    changesets As Changeset() _
) As List(Of IChangesetSummary)
public static List<IChangesetSummary> AddAssociatedChangesets(
    this IBuildInformation buildInformation,
    Changeset[] changesets
)
[ExtensionAttribute]
public:
static List<IChangesetSummary^>^ AddAssociatedChangesets(
    IBuildInformation^ buildInformation, 
    array<Changeset^>^ changesets
)
static member AddAssociatedChangesets : 
        buildInformation:IBuildInformation * 
        changesets:Changeset[] -> List<IChangesetSummary> 
public static function AddAssociatedChangesets(
    buildInformation : IBuildInformation, 
    changesets : Changeset[]
) : List<IChangesetSummary>

Parameters

Return Value

Type: System.Collections.Generic.List<IChangesetSummary>
The list of changeset summaries that are now associated with the build information.

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

See Also

Reference

InformationNodeConverters Class

AddAssociatedChangesets Overload

Microsoft.TeamFoundation.Build.Client Namespace