Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionControlServer.GetItem Method (Int32, Int32, GetItemsOptions)

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.Item
The specified Item. Null if not found.

Show:
© 2015 Microsoft