EntitySet<TEntity>.EntityRemoved Event
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Occurs when an Entity is removed from this entity set.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public Event EntityRemoved As EventHandler(Of EntityCollectionChangedEventArgs(Of TEntity))
'Usage
Dim instance As EntitySet
Dim handler As EventHandler(Of EntityCollectionChangedEventArgs(Of TEntity))
AddHandler instance.EntityRemoved, handler
public event EventHandler<EntityCollectionChangedEventArgs<TEntity>> EntityRemoved
public:
event EventHandler<EntityCollectionChangedEventArgs<TEntity>^>^ EntityRemoved {
void add (EventHandler<EntityCollectionChangedEventArgs<TEntity>^>^ value);
void remove (EventHandler<EntityCollectionChangedEventArgs<TEntity>^>^ value);
}
member EntityRemoved : IEvent<EventHandler<EntityCollectionChangedEventArgs<'TEntity>>,
EntityCollectionChangedEventArgs<'TEntity>>
JScript supports the use of events, but not the declaration of new ones.