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.Parse Method (String, String)

Converts a version specification string to an array of VersionSpec objects. Accommodates a range specifier.

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

'Declaration
Public Shared Function Parse ( _
	versionSpec As String, _
	user As String _
) As 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 specifications in an array.

If the version specification did not contain a range specifier, this will return an array of size one; otherwise, an array of size two.

Show:
© 2015 Microsoft