VirtualContextReplaceVirtualContextPrefix Method |
Replaces the virtual context prefix from the given URL with a new one
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string ReplaceVirtualContextPrefix(
string path,
string newPrefix,
string applicationPath = null
)
Parameters
- path
- Type: SystemString
Path to modify - newPrefix
- Type: SystemString
New prefix - applicationPath (Optional)
- Type: SystemString
The application path. If not provided, current application path is used.
Return Value
Type:
StringSee Also