This documentation is archived and is not being maintained.

VersionControlServer.GetChangesForChangeset Method (Int32, Boolean, Int32, ItemSpec, String[], Boolean)

Gets the changes within a Changeset. Allows the caller to page changes back from the server.

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

public Change[] GetChangesForChangeset(
	int changesetId,
	bool includeDownloadInfo,
	int pageSize,
	ItemSpec lastItem,
	string[] itemAttributeFilters,
	bool includeMergeSourceInfo


Type: System.Int32

The Changeset for which to get changes.

Type: System.Boolean

True to get the information needed to download files. Specify false to save bandwidth if not necessary.

Type: System.Int32

The number of Item objects to return.

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec

Instructs the server to return items which sort after this item. If null, the server will begin from the start of the Changeset.

Type: System.String[]

Array of the property name filters to apply to each result.

Type: System.Boolean

True to include source information about renames / merges. False to not include these.

lastItem should be null in the first call to this method, and then should be the last seen value on subsequent calls.