WorkspaceItem Class

Used by QueryWorkspaceItems to represent an item.

Inherits all fields from Item.

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)

public sealed class WorkspaceItem : Item

The WorkspaceItem type exposes the following members.

  NameDescription
Public propertyArtifactUriGets the artifact uniform resource identifier (URI). (Inherited from Item.)
Public propertyArtifactUriLatestItemVersionGets the latest version artifact URI. (Inherited from Item.)
Public propertyAttributesGets the attributes associated with the item. (Inherited from Item.)
Public propertyChangesetIdGets the changeset ID of this item. (Inherited from Item.)
Public propertyChangeTypeGets the type of change that applied to an item.
Public propertyCheckinDateGets the check-in date of this item. (Inherited from Item.)
Public propertyCommittedServerItemGets the committed server item at which to start the query.
Public propertyContentLengthGets the length of the content in this item. (Inherited from Item.)
Public propertyDeletionIdGets the deletion ID of this item. (Inherited from Item.)
Public propertyEncodingGets the encoding of this item. (Inherited from Item.)
Public propertyHashValueGets the hash value of this item. (Inherited from Item.)
Public propertyIsBranchFlag that describes whether this item is a branch. (Inherited from Item.)
Public propertyIsContentDestroyedGets a flag that describes whether the content of the item was destroyed. (Inherited from Item.)
Public propertyItemIdGets the ID of this item. (Inherited from Item.)
Public propertyItemTypeGets the type of this item. (Inherited from Item.)
Public propertyLocalItemGets the path to the item on the client's local disk.
Public propertyProperties Obsolete. Gets a read-only collection of properties that is associated with the item. (Inherited from Item.)
Public propertyPropertyValuesGets the property values associated with the item. (Inherited from Item.)
Public propertyRecursiveChangeTypeGets the change type to apply during recursion.
Public propertyServerItemGets the path of the associated item on the server. (Inherited from Item.)
Public propertyVersionControlServerGets the version control repository that contains this item. (Inherited from Item.)
Top

  NameDescription
Public methodDownloadFile()Downloads the content for this version of the item. (Inherited from Item.)
Public methodDownloadFile(String)Downloads the content for this version of the item. (Inherited from Item.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the string representation of the workspace item. (Overrides Item.ToString().)
Top

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
Show:
© 2014 Microsoft