Share via


Difference.VisualDiffFiles Method (String, String, String, String, String, String, Boolean, Boolean)

Provides an entry point to diff two files without having to pass in a version control server object

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

Syntax

'Declaration
Public Shared Sub VisualDiffFiles ( _
    sourceFile As String, _
    targetFile As String, _
    sourceFileTag As String, _
    targetFileTag As String, _
    sourceFileLabel As String, _
    targetFileLabel As String, _
    isSourceReadOnly As Boolean, _
    isTargetReadOnly As Boolean _
)
public static void VisualDiffFiles(
    string sourceFile,
    string targetFile,
    string sourceFileTag,
    string targetFileTag,
    string sourceFileLabel,
    string targetFileLabel,
    bool isSourceReadOnly,
    bool isTargetReadOnly
)
public:
static void VisualDiffFiles(
    String^ sourceFile, 
    String^ targetFile, 
    String^ sourceFileTag, 
    String^ targetFileTag, 
    String^ sourceFileLabel, 
    String^ targetFileLabel, 
    bool isSourceReadOnly, 
    bool isTargetReadOnly
)
static member VisualDiffFiles : 
        sourceFile:string * 
        targetFile:string * 
        sourceFileTag:string * 
        targetFileTag:string * 
        sourceFileLabel:string * 
        targetFileLabel:string * 
        isSourceReadOnly:bool * 
        isTargetReadOnly:bool -> unit
public static function VisualDiffFiles(
    sourceFile : String, 
    targetFile : String, 
    sourceFileTag : String, 
    targetFileTag : String, 
    sourceFileLabel : String, 
    targetFileLabel : String, 
    isSourceReadOnly : boolean, 
    isTargetReadOnly : boolean
)

Parameters

  • sourceFile
    Type: System.String

    The source file to compare to the target.

  • isSourceReadOnly
    Type: System.Boolean

    Whether the source is read-only.

  • isTargetReadOnly
    Type: System.Boolean

    Whether the target is read-only.

.NET Framework Security

See Also

Reference

Difference Class

VisualDiffFiles Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace