Collection Adding New Handler Delegate
Represents the method that will handle the changing the name of a component.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[ComVisibleAttribute(true)]
public delegate void CollectionAddingNewHandler(
Object sender,
AddingNewEventArgs args
)VB
<ComVisibleAttribute(true)>
Public Delegate Sub CollectionAddingNewHandler (
sender As Object,
args As AddingNewEventArgs
)Parameters
- sender Object
- The PMC that is the source .
- args AddingNewEventArgs
- A NameChangedEventArgs that provides information about the name change.
Remarks
When you create a ComponentNameChangedHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an
instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about delegates,
see Events and Delegates.