| Visual Basic (Declaration) | |
|---|---|
Public Event ItemRemoved() As EventHandler(Of RasterCollectionEventArgs(Of T))  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public event EventHandler<RasterCollectionEventArgs<T>> ItemRemoved()  | |
| C++/CLI | |
|---|---|
public: event EventHandler<RasterCollectionEventArgs<T>>^ ItemRemoved();  | |
For an example, refer to Generic RasterCollection. 
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family