Click or drag to resize
URLHelperRemovePathInfo Method

Note: This API is now obsolete.

Removes the path info from URL.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Method will be removed. Use custom logic instead.")]
public static string RemovePathInfo(
	string url,
	string pathInfo
)

Parameters

url
Type: SystemString
URL to process
pathInfo
Type: SystemString
Path info to remove

Return Value

Type: String
See Also