Gets the relative path for the specified physical path.

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public virtual string GetRelativePath(
	int portalID,
	string physicalPath
)
Visual Basic
Public Overridable Function GetRelativePath ( 
	portalID As Integer,
	physicalPath As String
) As String

Parameters

portalID
Type: System..::..Int32
paramportalIDM:DotNetNuke.Common.Utilities.PathUtils.GetRelativePath(System.Int32,System.String)
physicalPath
Type: System..::..String
paramphysicalPathM:DotNetNuke.Common.Utilities.PathUtils.GetRelativePath(System.Int32,System.String)

Return Value

returnsM:DotNetNuke.Common.Utilities.PathUtils.GetRelativePath(System.Int32,System.String)

Implements

IPathUtils..::..GetRelativePath(Int32, String)

See Also