Used by QueryWorkspaceItems to represent an item.
Inherits all fields from Item.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Item
    Microsoft.TeamFoundation.VersionControl.Client.WorkspaceItem
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public NotInheritable Class WorkspaceItem _
    Inherits Item
public sealed class WorkspaceItem : Item
public ref class WorkspaceItem sealed : public Item
[<Sealed>]
type WorkspaceItem =  
    class 
        inherit Item 
    end
public final class WorkspaceItem extends Item
The WorkspaceItem type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ArtifactUri | Gets the artifact uniform resource identifier (URI). (Inherited from Item.) | 
| .gif) | ArtifactUriLatestItemVersion | Gets the latest version artifact URI. (Inherited from Item.) | 
| .gif) | Attributes | Gets the attributes associated with the item. (Inherited from Item.) | 
| .gif) | ChangesetId | Gets the changeset ID of this item. (Inherited from Item.) | 
| .gif) | ChangeType | Gets the type of change that applied to an item. | 
| .gif) | CheckinDate | Gets the check-in date of this item. (Inherited from Item.) | 
| .gif) | CommittedServerItem | Gets the committed server item at which to start the query. | 
| .gif) | ContentLength | Gets the length of the content in this item. (Inherited from Item.) | 
| .gif) | DeletionId | Gets the deletion ID of this item. (Inherited from Item.) | 
| .gif) | Encoding | Gets the encoding of this item. (Inherited from Item.) | 
| .gif) | HashValue | Gets the hash value of this item. (Inherited from Item.) | 
| .gif) | IsBranch | Flag that describes whether this item is a branch. (Inherited from Item.) | 
| .gif) | IsContentDestroyed | Gets a flag that describes whether the content of the item was destroyed. (Inherited from Item.) | 
| .gif) | ItemId | Gets the ID of this item. (Inherited from Item.) | 
| .gif) | ItemType | Gets the type of this item. (Inherited from Item.) | 
| .gif) | LocalItem | Gets the path to the item on the client's local disk. | 
| .gif) | Properties | Obsolete. Gets a read-only collection of properties that is associated with the item. (Inherited from Item.) | 
| .gif) | PropertyValues | Gets the property values associated with the item. (Inherited from Item.) | 
| .gif) | RecursiveChangeType | Gets the change type to apply during recursion. | 
| .gif) | ServerItem | Gets the path of the associated item on the server. (Inherited from Item.) | 
| .gif) | VersionControlServer | Gets the version control repository that contains this item. (Inherited from Item.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | DownloadFile() | Downloads the content for this version of the item. (Inherited from Item.) | 
| .gif) | DownloadFile(String) | Downloads the content for this version of the item. (Inherited from Item.) | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Returns the string representation of the workspace item. (Overrides Item.ToString().) | 
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.