Click or drag to resize
URLHelperEnsureURLPrefix Method (String, String, String)

Note: This API is now obsolete.

Ensures that the given URLs has the given prefix

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Method will be removed. Use EnsureURLPrefix(string, string, string, PathModifierHandler) instead.")]
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