This documentation is archived and is not being maintained.
VersionSpec::ParseVersionedFileSpec Method (String, String, String, Int32%, String%, array<VersionSpec>%)
Visual Studio 2013
Parse a versioned file spec 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, String^ userDisplay, [OutAttribute] int% deletionId, [OutAttribute] String^% fileName, [OutAttribute] array<VersionSpec^>^% versions )
Parameters
- spec
- Type: System::String
The versioned file spec to parse.
- 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.)
- deletionId
- Type: System::Int32%
The returned deletion ID (orphan ID.)
- fileName
- Type: System::String%
The returned file name.
- versions
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::VersionSpec>%
The returned versionSpec array.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: