次の方法で共有


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

  • sourceFile
    Type: System.String

    The source file to compare to the target.

.NET Framework Security

See Also

Reference

Difference Class

VisualDiffFiles Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace