This documentation is archived and is not being maintained.

Difference::VisualDiffFiles Method (VersionControlServer, String, VersionSpec, String, VersionSpec)

Compares the specified files.

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

public:
static void VisualDiffFiles(
	VersionControlServer^ versionControl, 
	String^ sourceFile, 
	VersionSpec^ sourceVersion, 
	String^ targetFile, 
	VersionSpec^ targetVersion
)

Parameters

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

The version control server that contains the specified files.

sourceFile
Type: System::String

The source file to compare to the target.

sourceVersion
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec

The source file version.

targetFile
Type: System::String

The destination file.

targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec

The destination file version.

Show: