VersionControlServer.GetItems Method (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 ( _
    itemSpec As ItemSpec, _
    version As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    options As GetItemsOptions _
) As ItemSet
public ItemSet GetItems(
    ItemSpec itemSpec,
    VersionSpec version,
    DeletedState deletedState,
    ItemType itemType,
    GetItemsOptions options
)
public:
ItemSet^ GetItems(
    ItemSpec^ itemSpec, 
    VersionSpec^ version, 
    DeletedState deletedState, 
    ItemType itemType, 
    GetItemsOptions options
)
member GetItems : 
        itemSpec:ItemSpec * 
        version:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        options:GetItemsOptions -> ItemSet
public function GetItems(
    itemSpec : ItemSpec, 
    version : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    options : GetItemsOptions
) : ItemSet

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSet
An array of Item objects matching the path.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetItems Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace