ImageMan.Net Version 3 Summer 2012 Release
CollectionChanged Event
See Also  Send Feedback
DTI.ImageMan Namespace > ImageCollection Class : CollectionChanged Event





Glossary Item Box

Fired when the collection changes.

Syntax

Visual Basic (Declaration) 
Public Event CollectionChanged As ImageCollection.CollectionChangedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As ImageCollection
Dim handler As ImageCollection.CollectionChangedEventHandler
 
AddHandler instance.CollectionChanged, handler
C# 
public event ImageCollection.CollectionChangedEventHandler CollectionChanged
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event ImageCollection.CollectionChangedEventHandler* CollectionChanged
C++/CLI 
public:
event ImageCollection.CollectionChangedEventHandler^ CollectionChanged

Event Data

The event handler receives an argument of type ImageCollectionChangedEventArgs containing data related to this event. The following ImageCollectionChangedEventArgs properties provide information specific to this event.

PropertyDescription
Image Gets the Image object associated with the event.
Index Returns the index of the image affected by the operation.
Operation Returns an enum indicating which operation occurred on the collection.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.