Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IFolderManager.GetSubfolders Method 

Returns the immediate sub-folders contained in the specified folder.

IFolder[] GetSubfolders(
   IFolder folder
);

Parameters

folder
The parent folder. Cannot be null.

Return Value

An array of IFolders which are the immediate sub-folders of the specified parent folder. The returned array is not ordered.

Remarks

To retrieve folders or traverse the Content Server folder hierarchy, first retrieve the root folder using GetRootFolder, then use this method to retrieve the immediate sub-folders the root folder contains and so on.

Exceptions

Exception TypeCondition
ContentException The method call resulted in a Content Server exception.
ContentSecurityException The user does not have permission to access the folder.
SoapException There was a communication problem during the execution of the remote method call.
InvalidOperationException The parent folder has been deleted or has not been stored.

See Also

IFolderManager Interface | Plumtree.Remote.PRC.Content.Folder Namespace