VersionControlPath.GetFolderDepth Method (String, Int32)
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'宣言
Public Shared Function GetFolderDepth ( _
item As String, _
maxDepth As Integer _
) As Integer
public static int GetFolderDepth(
string item,
int maxDepth
)
public:
static int GetFolderDepth(
String^ item,
int maxDepth
)
static member GetFolderDepth :
item:string *
maxDepth:int -> int
public static function GetFolderDepth(
item : String,
maxDepth : int
) : int
Parameters
- item
Type: System.String
- maxDepth
Type: System.Int32
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.