다음을 통해 공유


SPFolderHierarchy.GetFolderSubFolderCount Method

Gets the count of subfolders for the specified SPFolder object.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Shared Function GetFolderSubFolderCount ( _
    folder As SPFolder _
) As Integer
'Usage
Dim folder As SPFolder
Dim returnValue As Integer

returnValue = SPFolderHierarchy.GetFolderSubFolderCount(folder)
public static int GetFolderSubFolderCount(
    SPFolder folder
)

Parameters

Return Value

Type: System.Int32
Returns Int32.

See Also

Reference

SPFolderHierarchy Class

SPFolderHierarchy Members

Microsoft.Office.Server.Utilities Namespace