Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
ArtifactUri | Gets the artifact uniform resource identifier (URI). (Inherited from Item.) |
![]() |
ArtifactUriLatestItemVersion | Gets the latest version artifact URI. (Inherited from Item.) |
![]() |
Attributes | Gets the attributes associated with the item. (Inherited from Item.) |
![]() |
ChangesetId | Gets the changeset ID of this item. (Inherited from Item.) |
![]() |
ChangeType | Gets the type of change that applied to an item. |
![]() |
CheckinDate | Gets the check-in date of this item. (Inherited from Item.) |
![]() |
CommittedServerItem | Gets the committed server item at which to start the query. |
![]() |
ContentLength | Gets the length of the content in this item. (Inherited from Item.) |
![]() |
DeletionId | Gets the deletion ID of this item. (Inherited from Item.) |
![]() |
Encoding | Gets the encoding of this item. (Inherited from Item.) |
![]() |
HashValue | Gets the hash value of this item. (Inherited from Item.) |
![]() |
IsBranch | Flag that describes whether this item is a branch. (Inherited from Item.) |
![]() |
IsContentDestroyed | Gets a flag that describes whether the content of the item was destroyed. (Inherited from Item.) |
![]() |
ItemId | Gets the ID of this item. (Inherited from Item.) |
![]() |
ItemType | Gets the type of this item. (Inherited from Item.) |
![]() |
LocalItem | Gets the path to the item on the client's local disk. |
![]() |
Properties | Obsolete. Gets a read-only collection of properties that is associated with the item. (Inherited from Item.) |
![]() |
PropertyValues | Gets the property values associated with the item. (Inherited from Item.) |
![]() |
RecursiveChangeType | Gets the change type to apply during recursion. |
![]() |
ServerItem | Gets the path of the associated item on the server. (Inherited from Item.) |
![]() |
VersionControlServer | Gets the version control repository that contains this item. (Inherited from Item.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
DownloadFile() | Downloads the content for this version of the item. (Inherited from Item.) |
![]() |
DownloadFile(String) | Downloads the content for this version of the item. (Inherited from Item.) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
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.