Click or drag to resize
EventListRegisterForComponentEventArgsType Method (String, String, String, EventHandlerArgsType)
Registers the given event handler for an event to a specific component by its name

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public void RegisterForComponentEvent<ArgsType>(
	string componentName,
	string eventName,
	string actionName,
	EventHandler<ArgsType> handler
)
where ArgsType : EventArgs

Parameters

componentName
Type: SystemString
Component name
eventName
Type: SystemString
Event name
actionName
Type: SystemString
Action name
handler
Type: SystemEventHandlerArgsType
Handler method

Type Parameters

ArgsType
See Also