共用方式為


VersionControlServer.GetItems Method (array<Int32 , Int32, Boolean)

Gets an array of Item objects from repository, based on itemIds and changesetNumber.

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

Syntax

'Declaration
Public Function GetItems ( _
    itemIds As Integer(), _
    changesetNumber As Integer, _
    includeDownloadInfo As Boolean _
) As Item()
public Item[] GetItems(
    int[] itemIds,
    int changesetNumber,
    bool includeDownloadInfo
)
public:
array<Item^>^ GetItems(
    array<int>^ itemIds, 
    int changesetNumber, 
    bool includeDownloadInfo
)
member GetItems : 
        itemIds:int[] * 
        changesetNumber:int * 
        includeDownloadInfo:bool -> Item[] 
public function GetItems(
    itemIds : int[], 
    changesetNumber : int, 
    includeDownloadInfo : boolean
) : Item[]

Parameters

  • changesetNumber
    Type: System.Int32

    Changeset version of the item.

  • includeDownloadInfo
    Type: System.Boolean

    True to include information to download files from the server.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.Item[]
An array of Item objects that match the parameters.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetItems Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace