DiffLine Class

A line from a file.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Common.DiffLine

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

Syntax

'Declaration
Public Class DiffLine
public class DiffLine
public ref class DiffLine
type DiffLine =  class end
public class DiffLine

The DiffLine type exposes the following members.

Properties

  Name Description
Public property Content Gets the line content.
Public property EndOfLineTerminator Gets the End-of-Line terminator for this line.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for the line. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Retrieves the DiffLine 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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Common Namespace