Share via


DiffItemLocalWorkspace Class

IDiffItem class for comparing files in local workspaces against their original (workspace version) content.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.DiffItemLocalWorkspace

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

Syntax

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

The DiffItemLocalWorkspace type exposes the following members.

Properties

  Name Description
Public property IsTemporary Gets a flag that describes whether the diff item is temporary.
Public property Label Gets or sets the diff item label.
Public property LabelFile Gets or sets the label file associated with the diff item.
Public property LabelTag Gets or sets the label tag associated with the diff item.

Top

Methods

  Name Description
Public methodStatic member Create Creates DiffItemLocalWorkspace object for a given file in a specified local workspace. Returns null if workspace is not local or file does not have baseline content stored.
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 GetEncoding Returns the encoding for the current workspace.
Public method GetFile Returns the file associated with the workspace.
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

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