Click or drag to resize
URLHelperEnsureURLPrefix Method
Ensures that the given URLs has the given prefix

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string EnsureURLPrefix(
	string url,
	string applicationPath,
	string prefix,
	URLHelperPathModifierHandler urlModifier
)

Parameters

url
Type: SystemString
URL
applicationPath
Type: SystemString
Application path
prefix
Type: SystemString
URL prefix to ensure
urlModifier
Type: CMS.HelpersURLHelperPathModifierHandler
Callback for preview hash

Return Value

Type: String
See Also