This documentation is archived and is not being maintained.

Workspace::GetExtendedItems Method (array<ItemSpec>, DeletedState, ItemType, GetItemsOptions, array<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:
array<array<ExtendedItem^>^>^ GetExtendedItems(
	array<ItemSpec^>^ itemSpecs, 
	DeletedState deletedState, 
	ItemType itemType, 
	GetItemsOptions getItemsOptions, 
	array<String^>^ itemPropertyFilters
)

Parameters

itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client::ItemSpec>

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

deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client::DeletedState

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

itemType
Type: Microsoft.TeamFoundation.VersionControl.Client::ItemType

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

getItemsOptions
Type: Microsoft.TeamFoundation.VersionControl.Client::GetItemsOptions

Options

itemPropertyFilters
Type: array<System::String>

A list of properties to query.

Return Value

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

Show: