This documentation is archived and is not being maintained.
DiffItemLocalWorkspace Class
Visual Studio 2013
IDiffItem class for comparing files in local workspaces against their original (workspace version) content.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
The DiffItemLocalWorkspace type exposes the following members.
| 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. |
| 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 the default hash function. (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.) |
Show:
