EventListRegisterForComponentEvent Method (String, String, String, EventHandlerEventArgs) |
Registers the given event handler for an event to a specific component by its name
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntaxpublic void RegisterForComponentEvent(
string componentName,
string eventName,
string actionName,
EventHandler<EventArgs> handler
)
Parameters
- componentName
- Type: SystemString
Component name - eventName
- Type: SystemString
Event name - actionName
- Type: SystemString
Action name - handler
- Type: SystemEventHandlerEventArgs
Handler method
See Also