Click or drag to resize
PageInfoProviderRemoveCulturePrefix Method (String, String, CultureInfo)

Note: This API is now obsolete.

Returns culture code or culture alias defined in URL and removes it from input path.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
[ObsoleteAttribute("Use method RemoveCulturePrefix(string siteName, ref string path, ref CultureInfo ci) instead.")]
public static string RemoveCulturePrefix(
	ref string path,
	string siteName,
	ref CultureInfo ci
)

Parameters

path
Type: SystemString
Url path
siteName
Type: SystemString
Site name
ci
Type: CMS.LocalizationCultureInfo
Culture info for current culture prefix in URL

Return Value

Type: String
See Also