Click or drag to resize
VirtualContextReplaceVirtualContextPrefix Method
Replaces the virtual context prefix from the given URL with a new one

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
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: String
See Also