VersionControlServer.GetExtendedItems Method (ItemSpec[], DeletedState, ItemType)

Gets an array of ExtendedItem objects in the repository that match the specified criteria, for each ItemSpec.

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

public ExtendedItem[][] GetExtendedItems(
	ItemSpec[] itemSpecs,
	DeletedState deletedState,
	ItemType itemType


Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
The item specifiers for the item(s), may be server or local.
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedState
A flag describing whether to return deleted items and/or non-deleted items.
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType
A flag describing whether to return files and/or folders.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ExtendedItem[][]
An array containing the matching ExtendedItem instances associated with each specified ItemSpec.

If the 'path' argument is a file, returns a set of items containing just that file. If the 'path' is a folder, returns a set of items containing all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.

Community Additions