Share via


VersionControlPath.Parse Method

Parses a canonicalized item specification into a parent folder and the last path component. If "$/" is passed, the parent is "$/" and the name is "".

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntax

'Declaration
Public Shared Sub Parse ( _
    item As String, _
    <OutAttribute> ByRef parent As String, _
    <OutAttribute> ByRef name As String _
)
public static void Parse(
    string item,
    out string parent,
    out string name
)
public:
static void Parse(
    String^ item, 
    [OutAttribute] String^% parent, 
    [OutAttribute] String^% name
)
static member Parse : 
        item:string * 
        parent:string byref * 
        name:string byref -> unit
public static function Parse(
    item : String, 
    parent : String, 
    name : String
)

Parameters

  • item
    Type: System.String

    The item to parse into a parent path and a name.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace