DIMcImageSetEvents_BeforeAddEventHandler Delegate

Event fired before a new set is created by McImageSets.Add.

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Public Delegate Sub DIMcImageSetEvents_BeforeAddEventHandler ( 
	Name As String,
	<OutAttribute> ByRef pNewImageSet As McImageSet,
	<OutAttribute> ByRef bCancel As Boolean
)

Parameters

Name
Type: SystemString
Name of the new set.
pNewImageSet
Type: MediaCy.IQL.SetsMcImageSet
Not used unless bCancel is set True, in which case this is the return value from the McImageSets.Add method.
bCancel
Type: SystemBoolean
If assigned True by the event handler, then the ImageSet returned by the event handler is used as the return value for the McImageSets.Add method.
Remarks
This event could be used to display a "New Set" dialog. Note that completion of the Add operation results in a PropertyChanged event on the collection's Count property.
See Also