Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 | |
|---|---|---|
![]() |
DiffSegment |
Top
Properties
| 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) |
Top
Methods
| 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.) |
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.
.gif)
.gif)
.gif)