Share via


VersionControlPath.GetFolderDepth, méthode (String)

Retourne le nombre de niveaux d'éléments de tracé dans cette spécification.

le $ retourne 0 $/abc retourne 1 $/abc/xyz retourne 2, et ainsi de suite.

Espace de noms :  Microsoft.TeamFoundation.VersionControl.Common
Assembly :  Microsoft.TeamFoundation.VersionControl.Common (dans Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntaxe

'Déclaration
Public Shared Function GetFolderDepth ( _
    item As String _
) As Integer
public static int GetFolderDepth(
    string item
)

Paramètres

Valeur de retour

Type : System.Int32

Sécurité .NET Framework

Voir aussi

Référence

VersionControlPath Classe

GetFolderDepth, surcharge

Microsoft.TeamFoundation.VersionControl.Common, espace de noms