Поделиться через


VersionSpec.ParseVersionedFileSpec Method (String, String, String, Int32%, String%, array<VersionSpec %)

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)

Syntax

'Declaration
Public Shared Sub ParseVersionedFileSpec ( _
    spec As String, _
    user As String, _
    userDisplay As String, _
    <OutAttribute> ByRef deletionId As Integer, _
    <OutAttribute> ByRef fileName As String, _
    <OutAttribute> ByRef versions As VersionSpec() _
)
public static void ParseVersionedFileSpec(
    string spec,
    string user,
    string userDisplay,
    out int deletionId,
    out string fileName,
    out VersionSpec[] versions
)
public:
static void ParseVersionedFileSpec(
    String^ spec, 
    String^ user, 
    String^ userDisplay, 
    [OutAttribute] int% deletionId, 
    [OutAttribute] String^% fileName, 
    [OutAttribute] array<VersionSpec^>^% versions
)
static member ParseVersionedFileSpec : 
        spec:string * 
        user:string * 
        userDisplay:string * 
        deletionId:int byref * 
        fileName:string byref * 
        versions:VersionSpec[] byref -> unit
public static function ParseVersionedFileSpec(
    spec : String, 
    user : String, 
    userDisplay : String, 
    deletionId : int, 
    fileName : String, 
    versions : VersionSpec[]
)

Parameters

  • 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.)

.NET Framework Security

See Also

Reference

VersionSpec Class

ParseVersionedFileSpec Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace