This documentation is archived and is not being maintained.
Workspace::GetItems Method
Visual Studio 2013
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: array<WorkspaceItemSet^>^ GetItems( array<ItemSpec^>^ itemSpecs, DeletedState deletedState, ItemType itemType, bool generateDownloadUrls, GetItemsOptions getItemsOptions )
Parameters
- itemSpecs
- Type: array<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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: