A summary of the differences between two files
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Common.DiffSummary
Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Class DiffSummary
public class DiffSummary
public ref class DiffSummary
type DiffSummary =  class end
public class DiffSummary
The DiffSummary type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DiffSummary(DiffFile, DiffFile, array<IDiffChange[], Boolean) | Constructs a new DiffSummary from the given files and diff change list. The diff change list will be included in the summary if it is requested. | 
| .gif) | DiffSummary(Int32, Int32, Int32, Int32, Int32) | Creates a DiffSummary with the given values | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Changes | The list of changes | 
| .gif) | ModifiedLineCount | The number of lines in the modified file | 
| .gif) | OriginalLineCount | The number of lines in the original file | 
| .gif) | TotalLinesAdded | The total number of lines that were added | 
| .gif) | TotalLinesDeleted | The total number of lines that were deleted | 
| .gif) | TotalLinesModified | The total number of lines that were modified | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns the DiffSummary as a string (Overrides Object.ToString().) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.