Delen via


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

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 _
) As ItemSet()
public ItemSet[] GetItems(
    ItemSpec[] itemSpecs,
    VersionSpec version,
    DeletedState deletedState,
    ItemType itemType
)
public:
array<ItemSet^>^ GetItems(
    array<ItemSpec^>^ itemSpecs, 
    VersionSpec^ version, 
    DeletedState deletedState, 
    ItemType itemType
)
member GetItems : 
        itemSpecs:ItemSpec[] * 
        version:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType -> ItemSet[] 
public function GetItems(
    itemSpecs : ItemSpec[], 
    version : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType
) : 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