Click or drag to resize
HTMLHelper.EnsureURLPrefixes Method
Ensures that all local URLs have given prefix

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string EnsureURLPrefixes(
	string mHtml,
	string applicationPath,
	string urlPrefix,
	URLHelper. PathModifierHandler urlModifier = null
)

Parameters

mHtml
Type: System.String
HTML code
applicationPath
Type: System.String
Application path
urlPrefix
Type: System.String
URL prefix to ensure
urlModifier (Optional)
Type: CMS.Helpers.URLHelper.PathModifierHandler
Callback for URL modification, optional

Return Value

Type: String
See Also