This documentation is archived and is not being maintained.

Workspace::GetExtendedItems Method (array<ItemSpec>, DeletedState, ItemType, GetItemsOptions)

Gets an array of extended items in the version-control 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:
array<array<ExtendedItem^>^>^ GetExtendedItems(
	array<ItemSpec^>^ itemSpecs, 
	DeletedState deletedState, 
	ItemType itemType, 
	GetItemsOptions getItemsOptions
)

Parameters

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

The specifiers for each item, which may be on the server or a local computer.

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

Flag that specifies whether to include deleted items, items that are not deleted, or both.

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

Flag that specifies whether to include files, folders, or both.

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

One or more of the enum values (None, Download, Unsorted, IncludeBranchInfo, IncludeSourceRenames) for getting items.

Return Value

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

Show: