This documentation is archived and is not being maintained.
WorkspaceItem Class
Visual Studio 2013
Used by QueryWorkspaceItems to represent an item.
Inherits all fields from Item.
System::Object
Microsoft.TeamFoundation.VersionControl.Server::Item
Microsoft.TeamFoundation.VersionControl.Server::WorkspaceItem
Microsoft.TeamFoundation.VersionControl.Server::Item
Microsoft.TeamFoundation.VersionControl.Server::WorkspaceItem
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
The WorkspaceItem type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Attributes | Attributes (Inherited from Item.) |
![]() | ChangesetId | The version number of this item as a changeset number. (Inherited from Item.) |
![]() | ChangeType | |
![]() | CheckinDate | Last modification timestamp of the item. (Inherited from Item.) |
![]() | CommittedServerItem | |
![]() | DeletionId | Since more than one deleted item may exist with the same ServerItem name, this is used to uniquely identify deleted items. ServerItem + DeletionId is guaranteed to be unique for all items. (Inherited from Item.) |
![]() | DownloadUrl | Returns the download URL fragment of the file to download. (Inherited from Item.) |
![]() | Encoding | (Inherited from Item.) |
![]() | FileLength | Length of item, if applicable. (Inherited from Item.) |
![]() | HashValue | MD5 of item, if applicable. (Inherited from Item.) |
![]() | IsBranch | Where the item is defined as a branch object in the system. (Inherited from Item.) |
![]() | IsContentDestroyed | (Inherited from Item.) |
![]() | IsFolder | (Inherited from Item.) |
![]() | ItemId | The item's ID. Used to retrieve file contents. (Inherited from Item.) |
![]() | ItemType | This tells the client the type of item being referenced. (Inherited from Item.) |
![]() | LocalItem | Path to the item on the client's local disk. |
![]() | Properties | Obsolete. Properties (Inherited from Item.) |
![]() | PropertyValues | Properties (Inherited from Item.) |
![]() | RecursiveChangeType | |
![]() | SequenceId | (Inherited from Item.) |
![]() | ServerItem | Repository path of this item (e.g. $/Sample/MyFile.cs). (Inherited from Item.) |
![]() | TimeZone | The timezone name in effect on the checkin date. (Inherited from Item.) |
![]() | TimeZoneOffset | The timezone offset in effect on the checkin date. (Inherited from Item.) |
| Name | Description | |
|---|---|---|
![]() | 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.) |
![]() | GetArtifactSpec | (Inherited from Item.) |
![]() | GetCachedSize | Average size in bytes of the item. (Inherited from Item.) |
![]() | GetDownloadUrlCount | (Inherited from Item.) |
![]() | GetFileId | (Inherited from Item.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetHashValue | (Inherited from Item.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetDownloadUrl | (Inherited from Item.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:
