Delen via


BuildContainerPath.GetContainerIdAndPath Method

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

  • containerId
    Type: System.Int64%

    The container ID to return

  • itemPath
    Type: System.String%

    Anything past the container ID, if applicable

.NET Framework Security

See Also

Reference

BuildContainerPath Class

Microsoft.TeamFoundation.Build.Common Namespace