Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function GetItems ( _
itemSpecs As ItemSpec(), _
deletedState As DeletedState, _
itemType As ItemType, _
generateDownloadUrls As Boolean, _
getItemsOptions As GetItemsOptions _
) As WorkspaceItemSet()
public WorkspaceItemSet[] GetItems(
ItemSpec[] itemSpecs,
DeletedState deletedState,
ItemType itemType,
bool generateDownloadUrls,
GetItemsOptions getItemsOptions
)
public:
array<WorkspaceItemSet^>^ GetItems(
array<ItemSpec^>^ itemSpecs,
DeletedState deletedState,
ItemType itemType,
bool generateDownloadUrls,
GetItemsOptions getItemsOptions
)
member GetItems :
itemSpecs:ItemSpec[] *
deletedState:DeletedState *
itemType:ItemType *
generateDownloadUrls:bool *
getItemsOptions:GetItemsOptions -> WorkspaceItemSet[]
public function GetItems(
itemSpecs : ItemSpec[],
deletedState : DeletedState,
itemType : ItemType,
generateDownloadUrls : boolean,
getItemsOptions : GetItemsOptions
) : WorkspaceItemSet[]
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.DeletedStateA flag that specifies whether to include items that are deleted, items that are not deleted, or both.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemTypeFlag that specifies whether to include files, folders, or both.
generateDownloadUrls
Type: System.BooleanIf true, the server will include the information that is required to download files.
getItemsOptions
Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptionsOne or more of the enum values (None, Download, Unsorted, IncludeBranchInfo, IncludeSourceRenames) for getting items.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkspaceItemSet[]
.NET Framework Security
- 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.