Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IFolderManager.GetFolderByPath Method 

Returns an IFolder by its path.

IFolder GetFolderByPath(
   string path
);

Parameters

path
The IFolder path delimited by '/'; cannot be null, empty or longer than 255 characters.

Return Value

The IFolder or null if the folder does not exist.

Remarks

The path of a folder can be obtained using the Path property in the IFolder class.

Note: This method will not function properly if the folder to be retrieved or any of its containing folders has '/' in its name, since all instances of '/' will be treated as path separator.

Exceptions

Exception Type Condition
ArgumentException The path is an empty string or longer than 255 characters.
ContentSecurityException The user does not have permission to access the folder.
ContentException The method call resulted in a Content Server exception.
SoapException There was a communication problem during the execution of the remote method call.

See Also

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