Export (0) Print
Expand All

VersionControlServer.GetItem Method (Int32, Int32, Boolean)

Gets an Item from the repository, based on itemId and changesetNumber.

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

member GetItem : 
        itemId:int * 
        changesetNumber:int * 
        includeDownloadInfo:bool -> Item

Parameters

itemId
Type: System.Int32

Item ID.

changesetNumber
Type: System.Int32

Changeset version of the item.

includeDownloadInfo
Type: System.Boolean

True to get the information needed to download files. Specify false to save bandwidth if not necessary.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Item
The specified Item. Null if not found.

Only set includeDownloadInfo to true if you are going to be downloading the files using the objects that are returned. The call will be faster and require less bandwidth when includeDownloadInfo is false (default for overloads that don't specify it).

Show:
© 2014 Microsoft