Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionSpec.ParseSingleSpec Method (String, String)

Converts a version specification string to a VersionSpec object.

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

static member ParseSingleSpec : 
        versionSpec:string * 
        user:string -> VersionSpec

Parameters

versionSpec
Type: System.String

Version specification to encapsulate.

user
Type: System.String

The current user.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The encapsulated version specification as an object.

The versionSpec string should not have a range specifier.

Show:
© 2015 Microsoft