Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
声明
Public Shared Function GetItemDepth ( _
    buildPath As String _
) As Integer
public static int GetItemDepth(
    string buildPath
)
public:
static int GetItemDepth(
    String^ buildPath
)
static member GetItemDepth : 
        buildPath:string -> int 
public static function GetItemDepth(
    buildPath : String
) : int
Parameters
- buildPath
 Type: System.String
Return Value
Type: System.Int32
.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.