Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WorkspaceVersionSpec Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies a version based on a workspace name/owner.

System.Object
  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)
public final class WorkspaceVersionSpec extends VersionSpec

The WorkspaceVersionSpec type exposes the following members.

  NameDescription
Public methodWorkspaceVersionSpec(Workspace)Initializes a new WorkspaceVersionSpec instance.
Public methodWorkspaceVersionSpec(WorkspaceInfo)Initializes a new WorkspaceVersionSpec instance.
Public methodWorkspaceVersionSpec(String, String)Initializes a new WorkspaceVersionSpec instance.
Public methodWorkspaceVersionSpec(String, String, String)Construct a WorkspaceVersionSpec based the specified workspace name and owner.
Top
  NameDescription
Public propertyDisplayStringGets the string representation of the version specification. (Inherited from VersionSpec.)
Public propertyNameGets or sets the name of the workspace.
Public propertyOwnerDisplayNameGets or sets the displayed owner name of the workspace.
Public propertyOwnerNameGets or sets the owner of the workspace.
Top
  NameDescription
Public methodEqualsCompares this WorkspaceVersionSpec instance with another. (Overrides Object.Equals(Object).)
Public methodFormatFormats a path by using the version specifier. (Inherited from VersionSpec.)
Public methodGetHashCodeGenerates a hash code for this instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringCreates a user-readable string that describes the properties of a workspace. (Overrides VersionSpec.ToString().)
Top
  NameDescription
Public fieldStatic memberIdentifierIdentifier for this version specification in command-line usage.
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.