Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the number of levels of path elements in this specification.
$/ will return 0 $/abc will return 1 $/abc/xyz will return 2, and so on.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function GetFolderDepth ( _
item As String _
) As Integer
public static int GetFolderDepth(
string item
)
public:
static int GetFolderDepth(
String^ item
)
static member GetFolderDepth :
item:string -> int
public static function GetFolderDepth(
item : String
) : int
Parameters
- item
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.