Gets a folder entity by providing a portal identifier and folder path.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public virtual IFolderInfo GetFolder(
	int portalId,
	string folderPath
)
Visual Basic
Public Overridable Function GetFolder ( 
	portalId As Integer,
	folderPath As String
) As IFolderInfo

Parameters

portalId
Type: System..::..Int32
The portal where the folder exists.
folderPath
Type: System..::..String
The path of the folder.

Return Value

The folder entity or null if the folder cannot be located.

Implements

IFolderManager..::..GetFolder(Int32, String)

See Also