Export (0) Print
Expand All

VersionControlServer::GetChangesForChangeset Method (Int32, Boolean, Int32, ItemSpec)

Gets the Change objects 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:
array<Change^>^ GetChangesForChangeset(
	int changesetId, 
	bool includeDownloadInfo, 
	int pageSize, 
	ItemSpec^ lastItem
)

Parameters

changesetId
Type: System::Int32

The Changeset for which to get Change objects.

includeDownloadInfo
Type: System::Boolean

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

pageSize
Type: System::Int32

The number of items to return.

lastItem
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.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client::Change>
Array of Change objects.

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

Show:
© 2014 Microsoft