Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Difference Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Contains methods for performing difference (diff) operations on two files.

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Difference

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public static class Difference

The Difference type exposes the following members.

  NameDescription
Public methodStatic memberCreateTargetDiffItem(VersionControlServer, PendingChange, VersionSpec)Creates a diff item for the specified file by using a pending change object at the specified target version.
Public methodStatic memberCreateTargetDiffItem(VersionControlServer, String, VersionSpec, Int32, VersionSpec)Creates a diff item for the specified item.
Public methodStatic memberCreateTargetDiffItem(VersionControlServer, Int32, String, VersionSpec, Int32, VersionSpec)Creates a diff item for the specified item.
Public methodStatic memberDiffFiles(String, Int32, String, Int32, DiffOptions)Compares two files by using the internal diff engine, and returns the linked list of DiffSegments.
Public methodStatic memberDiffFiles(VersionControlServer, IDiffItem, IDiffItem, DiffOptions, String, Boolean)Compares two files by using the internal diff engine.
Public methodStatic memberDiffFiles(VersionControlServer, IDiffItem, IDiffItem, DiffOptions, String, Boolean, Boolean)Compares two files by using the internal diff engine.
Public methodStatic memberIsEncodingSupported(Int32)Checks whether the specified encoding is supported by the diff/merge engine.
Public methodStatic memberIsEncodingSupported(Encoding)Checks whether the specified encoding is supported by the diff/merge engine.
Public methodStatic memberVisualDiffFiles(VersionControlServer, String, VersionSpec, String, VersionSpec)Compares the specified files.
Public methodStatic memberVisualDiffFiles(String, String, String, String, String, String, Boolean, Boolean, Boolean, Boolean)
Public methodStatic memberVisualDiffItems(VersionControlServer, IDiffItem, IDiffItem)Compares the specified files for differences.
Public methodStatic memberVisualDiffItems(VersionControlServer, IDiffItem, IDiffItem, Boolean)Compare two DiffItems using an external diff tool.
Public methodStatic memberVisualDiffShelvedChangeCompares the specified shelved changes for differences.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.