This documentation is archived and is not being maintained.
DiffSegment Class
Visual Studio 2013
A linked list of difference hunks.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
The DiffSegment type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | LatestByteLength | Returns the length in bytes in the latest file stream for this hunk. |
![]() | LatestLength | The length (in tokens) of the latest file in this DiffSegment. |
![]() | LatestStart | The starting token index in the latest file for this DiffSegment. |
![]() | LatestStartOffset | The starting byte offset of the latest file for this hunk. |
![]() | ModifiedByteLength | Returns the length in bytes in the destination file stream for this hunk. |
![]() | ModifiedLength | The length (in tokens) of the modified file in this DiffSegment. |
![]() | ModifiedStart | The starting token index in the modified file for this DiffSegment. |
![]() | ModifiedStartOffset | The index of the starting modifed token in the token array. |
![]() | Next | The next hunk in a DiffSegment sequence. Returns null if this is the end of the list. |
![]() | OriginalByteLength | Returns the length in bytes in original file stream for this hunk. |
![]() | OriginalLength | Returns the number of tokens in the orginal file for this DiffSegment. |
![]() | OriginalStart | Returns the orginal starting token index for this DiffSegment. |
![]() | OriginalStartOffset | The index of the original starting position in the token array. |
![]() | Type | Returns the DiffSegmentType of this DiffSegment. (Common, Modified, Conflict) |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:
