Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Shared Function Parse ( _
versionSpec As String, _
user As String _
) As VersionSpec()
public static VersionSpec[] Parse(
string versionSpec,
string user
)
public:
static array<VersionSpec^>^ Parse(
String^ versionSpec,
String^ user
)
static member Parse :
versionSpec:string *
user:string -> VersionSpec[]
public static function Parse(
versionSpec : String,
user : String
) : VersionSpec[]
Parameters
versionSpec
Type: System.StringVersion specification to encapsulate.
user
Type: System.StringThe current user.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.VersionSpec[]
The encapsulated version specifications in an array.
Remarks
If the version specification did not contain a range specifier, this will return an array of size one; otherwise, an array of size two.
.NET Framework Security
- 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.