VersionControlServer.GetItem Method (Int32, Int32, Boolean)
Visual Studio 2012
Gets an Item from the repository, based on itemId and changesetNumber.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public function GetItem( itemId : int, changesetNumber : int, includeDownloadInfo : boolean ) : Item
Parameters
- itemId
- Type: Int32
Item ID.
- changesetNumber
- Type: Int32
Changeset version of the item.
- includeDownloadInfo
- Type: 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.ItemThe specified Item. Null if not found.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.