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

Parse a versioned file specification of the form filename;version or filename;version;deletionID.

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

public static void ParseVersionedFileSpec(
	string spec,
	string user,
	out int deletionId,
	out string fileName,
	out VersionSpec[] versions
)

Parameters

spec
Type: System.String

The versioned file specification to parse.

user
Type: System.String

The current user (only used by workspace version specifications).

deletionId
Type: System.Int32%

Returned deletion id (orphan id).

fileName
Type: System.String%

Returned file name.

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

Returned VersionSpec array.

Community Additions

ADD
Show: