This documentation is archived and is not being maintained.

Workspace.GetExtendedItems Method (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 ExtendedItem[][] GetExtendedItems(
	ItemSpec[] itemSpecs,
	DeletedState deletedState,
	ItemType itemType,
	GetItemsOptions getItemsOptions
)

Parameters

itemSpecs
Type: 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: 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: