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

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
)

Parameters

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

Show:
© 2016 Microsoft