This documentation is archived and is not being maintained.

VersionControlServer.GetExtendedItems Method (String, DeletedState, ItemType)

Retrieves a list of extended items in the database that match the specified criteria.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public ExtendedItem[] GetExtendedItems (
	string path,
	DeletedState deletedState,
	ItemType itemType
)
public ExtendedItem[] GetExtendedItems (
	String path, 
	DeletedState deletedState, 
	ItemType itemType
)
public function GetExtendedItems (
	path : String, 
	deletedState : DeletedState, 
	itemType : ItemType
) : ExtendedItem[]

Parameters

path

The path of the item or items being listed. These may be located on the server or the local computer.

deletedState

Indicates whether to return deleted items, non-deleted items, or both.

itemType

Indicates whether to return files, folders, or both.

Return Value

Returns an ExtendedItem array that contains the matching ExtendedItem instances.

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.

Show: