VersionSpec.ParseVersionedFileSpec Method (String, String, String%, array<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)
Syntax
‘선언
Public Shared Sub ParseVersionedFileSpec ( _
spec As String, _
user As String, _
<OutAttribute> ByRef fileName As String, _
<OutAttribute> ByRef versions As VersionSpec() _
)
public static void ParseVersionedFileSpec(
string spec,
string user,
out string fileName,
out VersionSpec[] versions
)
public:
static void ParseVersionedFileSpec(
String^ spec,
String^ user,
[OutAttribute] String^% fileName,
[OutAttribute] array<VersionSpec^>^% versions
)
static member ParseVersionedFileSpec :
spec:string *
user:string *
fileName:string byref *
versions:VersionSpec[] byref -> unit
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: array<Microsoft.TeamFoundation.VersionControl.Client.VersionSpec[]%
The parsed VersionSpec array.
.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.