This documentation is archived and is not being maintained.
VersionControlServer.GetItem Method (Int32, Int32, GetItemsOptions)
Visual Studio 2013
Gets an Item from the repository, based on itemId, changesetNumber, and options.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
'Declaration Public Function GetItem ( _ itemId As Integer, _ changesetNumber As Integer, _ options As GetItemsOptions _ ) As Item
Parameters
- itemId
- Type: System.Int32
Item ID.
- changesetNumber
- Type: System.Int32
Changeset version of the item.
- options
- Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptions
Additional behavior flags (see GetItemsOptions).
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.
Show: