Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- folder
Type: Microsoft.SharePoint.SPFolder
SPFolder.
Return Value
Type: System.Int32
Returns Int32.