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

VersionSpec.ParseSingleSpec Method (String, String, String)

Given a version string (without a range specifier), convert it 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 * 
        userDisplay:string -> VersionSpec

Parameters

versionSpec
Type: System.String

The version specification to encapsulate.

user
Type: System.String

The current user's unique name (only used by workspace version specs.)

userDisplay
Type: System.String

The current user's display name (only used by workspace version specs.)

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The version specification encapsulated in an object.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.