Share via


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)

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

  • generateDownloadUrls
    Type: System.Boolean

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

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkspaceItemSet[]

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace