Export (0) Print
Expand All
Expand Minimize

Workspace.GetItems Method

For each provided ItemSpec, returns a corresponding WorkspaceItemSet containing data about items in the workspace.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public WorkspaceItemSet[] GetItems(
	ItemSpec[] itemSpecs,
	DeletedState deletedState,
	ItemType itemType,
	bool generateDownloadUrls,
	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

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

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

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

generateDownloadUrls
Type: System.Boolean

If true, the server will include the information that is required to download files.

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

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

Show:
© 2014 Microsoft