DIMcImageSetTemplateEvents_BeforeRemoveEventHandler Delegate

Event fired before an image set is destroyed by McImageSetTemplates.Remove, or all are removed by McImageSetTemplates.RemoveAll.

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Public Delegate Sub DIMcImageSetTemplateEvents_BeforeRemoveEventHandler ( 
	SetTemplate As McImageSetTemplate,
	<OutAttribute> ByRef bCancel As Boolean
)

Parameters

SetTemplate
Type: MediaCy.IQL.SetsMcImageSetTemplate
bCancel
Type: SystemBoolean
If assigned True by the event handler, then the Remove is cancelled.
Remarks
This event could be used to display an "Are you sure?" dialog. Note that completion of the Remove or RemoveAll operation results in a PropertyChanged event on the collection's Count property.
See Also