Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetItems Method (Int32[], Int32, GetItemsOptions)

VersionControlServer.GetItems Method (Int32[], Int32, GetItemsOptions)

Gets an array of Item objects from repository, based on itemIds and changesetNumber.

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

public Item[] GetItems(
	int[] itemIds,
	int changesetNumber,
	GetItemsOptions options


Type: System.Int32[]

Item ID.

Type: System.Int32

Changeset version of the item.

Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptions

Options for the query.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Item[]
An array of Item objects that match the parameters.

If an item cannot be found for a specific itemIds and changesetNumber then the corresponding element in the item output array will be null.

© 2015 Microsoft