VersionControlServer.GetItems Method (array<ItemSpec , VersionSpec, DeletedState, ItemType, GetItemsOptions)

Gets an array of Item objects in the repository that match the specified path and version.

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

Syntax

'Declaration
Public Function GetItems ( _
    itemSpecs As ItemSpec(), _
    version As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    options As GetItemsOptions _
) As ItemSet()
public ItemSet[] GetItems(
    ItemSpec[] itemSpecs,
    VersionSpec version,
    DeletedState deletedState,
    ItemType itemType,
    GetItemsOptions options
)
public:
array<ItemSet^>^ GetItems(
    array<ItemSpec^>^ itemSpecs, 
    VersionSpec^ version, 
    DeletedState deletedState, 
    ItemType itemType, 
    GetItemsOptions options
)
member GetItems : 
        itemSpecs:ItemSpec[] * 
        version:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        options:GetItemsOptions -> ItemSet[] 
public function GetItems(
    itemSpecs : ItemSpec[], 
    version : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    options : GetItemsOptions
) : ItemSet[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSet[]
An array of items matching the path.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetItems Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace