This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
Difference Class
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 ref class Difference abstract sealed
The Difference type exposes the following members.
|
| Name | Description |
|---|
  | CreateTargetDiffItem(VersionControlServer, PendingChange, VersionSpec) | Creates a diff item for the specified file by using a pending change object at the specified target version. |
  | CreateTargetDiffItem(VersionControlServer, String, VersionSpec, Int32, VersionSpec) | Creates a diff item for the specified item. |
  | CreateTargetDiffItem(VersionControlServer, Int32, String, VersionSpec, Int32, VersionSpec) | Creates a diff item for the specified item. |
  | DiffFiles(String, Int32, String, Int32, DiffOptions) | Compares two files by using the internal diff engine, and returns the linked list of DiffSegments. |
  | DiffFiles(VersionControlServer, IDiffItem, IDiffItem, DiffOptions, String, Boolean) | Compares two files by using the internal diff engine. |
  | DiffFiles(VersionControlServer, IDiffItem, IDiffItem, DiffOptions, String, Boolean, Boolean) | Compares two files by using the internal diff engine. |
  | IsEncodingSupported(Int32) | Checks whether the specified encoding is supported by the diff/merge engine. |
  | IsEncodingSupported(Encoding) | Checks whether the specified encoding is supported by the diff/merge engine. |
  | VisualDiffFiles(VersionControlServer, String, VersionSpec, String, VersionSpec) | Compares the specified files. |
  | VisualDiffFiles(String, String, String, String, String, String, Boolean, Boolean, Boolean, Boolean) | |
  | VisualDiffItems(VersionControlServer, IDiffItem, IDiffItem) | Compares the specified files for differences. |
  | VisualDiffItems(VersionControlServer, IDiffItem, IDiffItem, Boolean) | Compare two DiffItems using an external diff tool. |
  | VisualDiffShelvedChange | Compares the specified shelved changes for differences. |
TopAny public
static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.