This documentation is archived and is not being maintained.

Workspace.GetExtendedItems Method (ItemSpec[], DeletedState, ItemType, GetItemsOptions, String[])

For each input ItemSpec, retrieves a list of extended items in the repository that match the specified criteria. If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain 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.

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,
	GetItemsOptions getItemsOptions,
	string[] itemPropertyFilters


Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]

The item specifiers for the item(s) being listed, may be server or local

Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedState

A flag representing whether to return deleted items, non-deleted items, or both

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType

A flag representing whether to return files, folders, or both

Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptions


Type: System.String[]

A list of properties to query.

Return Value

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