Click or drag to resize
URLHelperEnsureURLPrefix Method (String, String, String)
Ensures that the given URLs has the given prefix

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

Parameters

url
Type: SystemString
URL
applicationPath
Type: SystemString
Application path
prefix
Type: SystemString
URL prefix to ensure

Return Value

Type: String
See Also