A linked list of difference hunks.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Common.DiffSegment
Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Class DiffSegment
public class DiffSegment
public ref class DiffSegment
type DiffSegment =  class end
public class DiffSegment
The DiffSegment type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | DiffSegment | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | LatestByteLength | Returns the length in bytes in the latest file stream for this hunk. | 
| .gif) | LatestLength | The length (in tokens) of the latest file in this DiffSegment. | 
| .gif) | LatestStart | The starting token index in the latest file for this DiffSegment. | 
| .gif) | LatestStartOffset | The starting byte offset of the latest file for this hunk. | 
| .gif) | ModifiedByteLength | Returns the length in bytes in the destination file stream for this hunk. | 
| .gif) | ModifiedLength | The length (in tokens) of the modified file in this DiffSegment. | 
| .gif) | ModifiedStart | The starting token index in the modified file for this DiffSegment. | 
| .gif) | ModifiedStartOffset | The index of the starting modifed token in the token array. | 
| .gif) | Next | The next hunk in a DiffSegment sequence. Returns null if this is the end of the list. | 
| .gif) | OriginalByteLength | Returns the length in bytes in original file stream for this hunk. | 
| .gif) | OriginalLength | Returns the number of tokens in the orginal file for this DiffSegment. | 
| .gif) | OriginalStart | Returns the orginal starting token index for this DiffSegment. | 
| .gif) | OriginalStartOffset | The index of the original starting position in the token array. | 
| .gif) | Type | Returns the DiffSegmentType of this DiffSegment. (Common, Modified, Conflict) | 
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 a string that represents the current object. (Inherited from Object.) | 
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.