DIMcImageSetEventsBeforeRemove Method
|
|
Event fired before an image set is destroyed by McImageSets.Remove, or all
are removed by McImageSets.RemoveAll.
Namespace:
MediaCy.IQL.Sets
Assembly:
MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
SyntaxSub BeforeRemove (
ImageSet As McImageSet,
<OutAttribute> ByRef bCancel As Boolean
)
Parameters
- ImageSet
- Type: MediaCy.IQL.SetsMcImageSet
The McImageSet being removed from the collection, or NULL if all lenses are
being removed by the RemoveAll method. - bCancel
- Type: SystemBoolean
If assigned True by the event handler, then the Remove is cancelled.
RemarksThis 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