This documentation is archived and is not being maintained.
WorkspaceVersionSpec Class
Visual Studio 2013
Specifies a version based on a workspace name/owner.
System::Object
Microsoft.TeamFoundation.VersionControl.Client::VersionSpec
Microsoft.TeamFoundation.VersionControl.Client::WorkspaceVersionSpec
Microsoft.TeamFoundation.VersionControl.Client::VersionSpec
Microsoft.TeamFoundation.VersionControl.Client::WorkspaceVersionSpec
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
The WorkspaceVersionSpec type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | WorkspaceVersionSpec(Workspace) | Initializes a new WorkspaceVersionSpec instance. |
![]() | WorkspaceVersionSpec(WorkspaceInfo) | Initializes a new WorkspaceVersionSpec instance. |
![]() | WorkspaceVersionSpec(String, String) | Initializes a new WorkspaceVersionSpec instance. |
![]() | WorkspaceVersionSpec(String, String, String) | Construct a WorkspaceVersionSpec based the specified workspace name and owner. |
| Name | Description | |
|---|---|---|
![]() | DisplayString | Gets the string representation of the version specification. (Inherited from VersionSpec.) |
![]() | Name | Gets or sets the name of the workspace. |
![]() | OwnerDisplayName | Gets or sets the displayed owner name of the workspace. |
![]() | OwnerName | Gets or sets the owner of the workspace. |
| Name | Description | |
|---|---|---|
![]() | Equals | Compares this WorkspaceVersionSpec instance with another. (Overrides Object::Equals(Object).) |
![]() | Format | Formats a path by using the version specifier. (Inherited from VersionSpec.) |
![]() | GetHashCode | Generates a hash code for this instance. (Overrides Object::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Creates a user-readable string that describes the properties of a workspace. (Overrides VersionSpec::ToString().) |
Show:
