Click or drag to resize
URLHelperOnBeforeGetSafeUrlPartEventHandler Delegate
Method handling an event fired for all parts of the URL (splitted by '/' character) to get a safe URL (without forbidden characters)

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public delegate bool OnBeforeGetSafeUrlPartEventHandler(
	ref string part,
	string siteName,
	EventArgs e
)

Parameters

part
Type: SystemString
Part of the URL without
siteName
Type: SystemString
Site name
e
Type: SystemEventArgs
EventArgs

Return Value

Type: Boolean
Returns false if original method should not be used.
See Also