Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Splits a path into its two major components of container id and item path.
Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Sub GetContainerIdAndPath ( _
    buildPath As String, _
    <OutAttribute> ByRef containerId As Long, _
    <OutAttribute> ByRef itemPath As String _
)
public static void GetContainerIdAndPath(
    string buildPath,
    out long containerId,
    out string itemPath
)
public:
static void GetContainerIdAndPath(
    String^ buildPath, 
    [OutAttribute] long long% containerId, 
    [OutAttribute] String^% itemPath
)
static member GetContainerIdAndPath : 
        buildPath:string * 
        containerId:int64 byref * 
        itemPath:string byref -> unit
public static function GetContainerIdAndPath(
    buildPath : String, 
    containerId : long, 
    itemPath : String
)
Parameters
- buildPath 
 Type: System.String- The canonicalized path to parse 
- containerId 
 Type: System.Int64%- The container ID to return 
- itemPath 
 Type: System.String%- Anything past the container ID, if applicable 
.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.