WorkspaceItem Class

Used by QueryWorkspaceItems to represent an item.

Inherits all fields from Item.


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

public class WorkspaceItem : Item

The WorkspaceItem type exposes the following members.

Public methodWorkspaceItem

Public propertyAttributesAttributes (Inherited from Item.)
Public propertyChangesetIdThe version number of this item as a changeset number. (Inherited from Item.)
Public propertyChangeType
Public propertyCheckinDateLast modification timestamp of the item. (Inherited from Item.)
Public propertyCommittedServerItem
Public propertyDeletionIdSince 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.)
Public propertyDownloadUrlReturns the download URL fragment of the file to download. (Inherited from Item.)
Public propertyEncoding (Inherited from Item.)
Public propertyFileLengthLength of item, if applicable. (Inherited from Item.)
Public propertyHashValueMD5 of item, if applicable. (Inherited from Item.)
Public propertyIsBranchWhere the item is defined as a branch object in the system. (Inherited from Item.)
Public propertyIsContentDestroyed (Inherited from Item.)
Public propertyIsFolder (Inherited from Item.)
Public propertyItemIdThe item's ID. Used to retrieve file contents. (Inherited from Item.)
Public propertyItemTypeThis tells the client the type of item being referenced. (Inherited from Item.)
Public propertyLocalItemPath to the item on the client's local disk.
Public propertyProperties Obsolete. Properties (Inherited from Item.)
Public propertyPropertyValuesProperties (Inherited from Item.)
Public propertyRecursiveChangeType
Public propertySequenceId (Inherited from Item.)
Public propertyServerItemRepository path of this item (e.g. $/Sample/MyFile.cs). (Inherited from Item.)
Public propertyTimeZoneThe timezone name in effect on the checkin date. (Inherited from Item.)
Public propertyTimeZoneOffsetThe timezone offset in effect on the checkin date. (Inherited from Item.)

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 methodGetArtifactSpec (Inherited from Item.)
Public methodGetCachedSizeAverage size in bytes of the item. (Inherited from Item.)
Public methodGetDownloadUrlCount (Inherited from Item.)
Public methodGetFileId (Inherited from Item.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetHashValue (Inherited from Item.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetDownloadUrl (Inherited from Item.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft