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)

public:
Item^ GetItem(
	int itemId, 
	int changesetNumber, 
	GetItemsOptions options
)

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