Export (0) Print
Expand All

DiffSegment Class

A linked list of difference hunks.

System.Object
  Microsoft.TeamFoundation.VersionControl.Common.DiffSegment

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

public class DiffSegment

The DiffSegment type exposes the following members.

  NameDescription
Public methodDiffSegment
Top

  NameDescription
Public propertyLatestByteLengthReturns the length in bytes in the latest file stream for this hunk.
Public propertyLatestLengthThe length (in tokens) of the latest file in this DiffSegment.
Public propertyLatestStartThe starting token index in the latest file for this DiffSegment.
Public propertyLatestStartOffsetThe starting byte offset of the latest file for this hunk.
Public propertyModifiedByteLengthReturns the length in bytes in the destination file stream for this hunk.
Public propertyModifiedLengthThe length (in tokens) of the modified file in this DiffSegment.
Public propertyModifiedStartThe starting token index in the modified file for this DiffSegment.
Public propertyModifiedStartOffsetThe index of the starting modifed token in the token array.
Public propertyNextThe next hunk in a DiffSegment sequence. Returns null if this is the end of the list.
Public propertyOriginalByteLengthReturns the length in bytes in original file stream for this hunk.
Public propertyOriginalLengthReturns the number of tokens in the orginal file for this DiffSegment.
Public propertyOriginalStartReturns the orginal starting token index for this DiffSegment.
Public propertyOriginalStartOffsetThe index of the original starting position in the token array.
Public propertyTypeReturns the DiffSegmentType of this DiffSegment. (Common, Modified, Conflict)
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft