Export (0) Print
Expand All

DiffItemLocalWorkspace Class

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

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

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

public class DiffItemLocalWorkspace : IDiffItem

The DiffItemLocalWorkspace type exposes the following members.

  NameDescription
Public propertyIsTemporaryGets a flag that describes whether the diff item is temporary.
Public propertyLabelGets or sets the diff item label.
Public propertyLabelFileGets or sets the label file associated with the diff item.
Public propertyLabelTagGets or sets the label tag associated with the diff item.
Top

  NameDescription
Public methodStatic memberCreateCreates 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 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 methodGetEncodingReturns the encoding for the current workspace.
Public methodGetFileReturns the file associated with the workspace.
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:
© 2014 Microsoft