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
声明
<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
- buildInformation
Type: Microsoft.TeamFoundation.Build.Client.IBuildInformation
The build information.
- changesets
Type: array<Microsoft.TeamFoundation.VersionControl.Client.Changeset[]
The array of changesets to add to the build information.
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
- 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