EventListRegisterForComponentEventArgsType Method (String, String, String, EventHandlerArgsType) |
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: 12.0.0
Syntax 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