Condividi tramite


Difference.DiffFiles Method (VersionControlServer, IDiffItem, IDiffItem, DiffOptions, String, Boolean)

Compares two files by using the internal diff engine.

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

Syntax

'Dichiarazione
Public Shared Sub DiffFiles ( _
    versionControl As VersionControlServer, _
    source As IDiffItem, _
    target As IDiffItem, _
    diffOpts As DiffOptions, _
    fileNameForHeader As String, _
    wait As Boolean _
)
public static void DiffFiles(
    VersionControlServer versionControl,
    IDiffItem source,
    IDiffItem target,
    DiffOptions diffOpts,
    string fileNameForHeader,
    bool wait
)
public:
static void DiffFiles(
    VersionControlServer^ versionControl, 
    IDiffItem^ source, 
    IDiffItem^ target, 
    DiffOptions^ diffOpts, 
    String^ fileNameForHeader, 
    bool wait
)
static member DiffFiles : 
        versionControl:VersionControlServer * 
        source:IDiffItem * 
        target:IDiffItem * 
        diffOpts:DiffOptions * 
        fileNameForHeader:string * 
        wait:bool -> unit 
public static function DiffFiles(
    versionControl : VersionControlServer, 
    source : IDiffItem, 
    target : IDiffItem, 
    diffOpts : DiffOptions, 
    fileNameForHeader : String, 
    wait : boolean
)

Parameters

  • fileNameForHeader
    Type: System.String
    True to use the file name as the header; otherwise, false.

.NET Framework Security

See Also

Reference

Difference Class

DiffFiles Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace