Converts Physical Path To Relative Path.
Note: Physical Path needs to be under the current Web application's root.
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string ToRelativePath(
string physicalPath
) |
Visual Basic |
---|
Public Shared Function ToRelativePath (
physicalPath As String
) As String |
Visual C++ |
---|
public:
static String^ ToRelativePath(
String^ physicalPath
) |
F# |
---|
static member ToRelativePath :
physicalPath : string -> string
|
Return Value
Type:
StringRelative path
See Also