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 | |
---|---|---|
IsTemporary | Gets a flag that describes whether the diff item is temporary. | |
Label | Gets or sets the diff item label. | |
LabelFile | Gets or sets the label file associated with the diff item. | |
LabelTag | Gets or sets the label tag associated with the diff item. |
Top
Methods
Name | Description | |
---|---|---|
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. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEncoding | Returns the encoding for the current workspace. | |
GetFile | Returns the file associated with the workspace. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.