This documentation is archived and is not being maintained.
VersionSpec::ParseSingleSpec Method (String, String, String)
Visual Studio 2013
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)
public: static VersionSpec^ ParseSingleSpec( String^ versionSpec, String^ user, String^ userDisplay )
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::VersionSpecThe version specification encapsulated in an object.
- 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: