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)
Syntax
'Declaration
Public Shared Sub VisualDiffFiles ( _
versionControl As VersionControlServer, _
sourceFile As String, _
sourceVersion As VersionSpec, _
targetFile As String, _
targetVersion As VersionSpec _
)
public static void VisualDiffFiles(
VersionControlServer versionControl,
string sourceFile,
VersionSpec sourceVersion,
string targetFile,
VersionSpec targetVersion
)
public:
static void VisualDiffFiles(
VersionControlServer^ versionControl,
String^ sourceFile,
VersionSpec^ sourceVersion,
String^ targetFile,
VersionSpec^ targetVersion
)
static member VisualDiffFiles :
versionControl:VersionControlServer *
sourceFile:string *
sourceVersion:VersionSpec *
targetFile:string *
targetVersion:VersionSpec -> unit
public static function VisualDiffFiles(
versionControl : VersionControlServer,
sourceFile : String,
sourceVersion : VersionSpec,
targetFile : String,
targetVersion : VersionSpec
)
Parameters
versionControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe version control server that contains the specified files.
sourceFile
Type: System.StringThe source file to compare to the target.
sourceVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe source file version.
targetFile
Type: System.StringThe destination file.
targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe destination file version.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.