VersionControlServer.GetItems Method (String, VersionSpec, RecursionType, DeletedState, ItemType, Boolean)
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)
public ItemSet GetItems ( string path, VersionSpec version, RecursionType recursion, DeletedState deletedState, ItemType itemType, bool includeDownloadInfo )
public ItemSet GetItems ( String path, VersionSpec version, RecursionType recursion, DeletedState deletedState, ItemType itemType, boolean includeDownloadInfo )
public function GetItems ( path : String, version : VersionSpec, recursion : RecursionType, deletedState : DeletedState, itemType : ItemType, includeDownloadInfo : boolean ) : ItemSet
A flag representing whether to return deleted items, non-deleted items, or both.
A flag representing whether to return files, folders, or both.
true to tell the server to include the information that is required to download the files.
Return ValueReturns an that contains a collection of matching Items.
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.
Only set includeDownloadInfo to true if you will download the files by using the returned objects. The call will be faster and require less bandwidth when this parameter is false. The overloaded methods set includeDownloadInfo to false.