Checks the existence of the specified folder in the specified portal.
Namespace: DotNetNuke.Services.FileSystemAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
bool FolderExists( int portalId, string folderPath ) |
Visual Basic |
---|
Function FolderExists ( portalId As Integer, folderPath As String ) As Boolean |
Parameters
- portalId
- Type: System..::..Int32
The portal where to check the existence of the folder.
- folderPath
- Type: System..::..String
The path of folder to check the existence of.