Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe source file to compare to the target.
targetFile
Type: System.StringThe destination file.
sourceFileTag
Type: System.StringThe source file tag.
targetFileTag
Type: System.StringThe target file tag.
sourceFileLabel
Type: System.StringThe source file label.
targetFileLabel
Type: System.StringThe target file label.
isSourceReadOnly
Type: System.BooleanWhether the source is read-only.
isTargetReadOnly
Type: System.BooleanWhether the target is read-only.
.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.