SystemOptionsServicesRemoveCustomLocale Method Ingeniux CMS Web Services API

Removes a custom locale by its locale name.

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<bool> RemoveCustomLocale(
	string locale,
	bool isCustomLocale
)

Parameters

locale
Type: SystemString
Locale name of the custom locale
Examples

"en-us-tx"
isCustomLocale
Type: SystemBoolean

[Missing <param name="isCustomLocale"/> documentation for "M:IngeniuxCMService.SystemOptionsServices.RemoveCustomLocale(System.String,System.Boolean)"]

Return Value

Type: XHRServiceResponseGenericBoolean
True if custom locale with given name exists and removed, false otherwise.
Remarks

If there are any Pages still using the custom locale, then the locale cannot be removed. Returns error status.

See Also

Reference