This documentation is archived and is not being maintained.

DiffItemVersionedFile Constructor (VersionControlServer, Int32, Int32, String)

Initializes a new DiffItemVersionedFile instance.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public:
DiffItemVersionedFile(
	VersionControlServer^ versionControl, 
	int itemId, 
	int changeset, 
	String^ displayPath
)

Parameters

versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionControlServer

The version control server that contains the item.

itemId
Type: System::Int32

The ID of the item for which to create a diff item.

changeset
Type: System::Int32

The changeset version of the item.

displayPath
Type: System::String

The path to use when constructing an exception in the event of the item not existing on the server.

Show: