Share via


DiffItemLocalFile Class

Represents a local file that was prepared for difference operations.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.DiffItemLocalFile

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

Syntax

'Declaration
Public Class DiffItemLocalFile _
    Implements IDiffItem
public class DiffItemLocalFile : IDiffItem
public ref class DiffItemLocalFile : IDiffItem
type DiffItemLocalFile =  
    class 
        interface IDiffItem 
    end
public class DiffItemLocalFile implements IDiffItem

The DiffItemLocalFile type exposes the following members.

Constructors

  Name Description
Public method DiffItemLocalFile Initializes a new DiffItemLocalFile instance.

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 Serves as a hash function for a particular type. (Inherited from Object.)
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 Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDiffItem.GetEncoding Gets the encoding to apply to the diff item.
Explicit interface implemetationPrivate method IDiffItem.GetFile Gets the path of the local file for which to create a diff item.
Explicit interface implemetationPrivate property IDiffItem.IsTemporary Gets or sets a value that indicates whether local file is temporary file.
Explicit interface implemetationPrivate property IDiffItem.Label Gets or sets the label for the file.
Explicit interface implemetationPrivate property IDiffItem.LabelFile Gets or sets the file portion of the label.
Explicit interface implemetationPrivate property IDiffItem.LabelTag Gets or sets the tag portion of the label.

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.Client Namespace