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.StringThe item to parse into a parent path and a name.
parent
Type: System.String%The parent path returned.
name
Type: System.String%The name returned.
.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.