This documentation is archived and is not being maintained.

VersionControlServer.GetItem Method (Int32, Int32)

Gets the Item from the database based on ItemId and Changeset.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public Item GetItem (
	int itemId,
	int changesetNumber
)
public Item GetItem (
	int itemId, 
	int changesetNumber
)
public function GetItem (
	itemId : int, 
	changesetNumber : int
) : Item

Parameters

itemId

The identifier of the Item.

changesetNumber

The Changeset version to retrieve.

Return Value

Returns the Item if the Item was found; otherwise null.
Show: