This documentation is archived and is not being maintained.

VersionSpec.ParseVersionedFileSpec Method (String, String, String, VersionSpec[])

Parses a versioned file specification string of the form "filename;version".

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

public static function ParseVersionedFileSpec(
	spec : String, 
	user : String, 
	fileName : String, 
	versions : VersionSpec[]
)

Parameters

spec
Type: System.String

The versioned file specification to parse.

user
Type: System.String

The current user.

fileName
Type: System.String

The parsed file name.

versions
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec[]

The parsed VersionSpec array.

Show: