EntitySet.EntityRemoved 事件
在将 Entity 从该实体集移除时发生。
命名空间: System.ServiceModel.DomainServices.Client
程序集: System.ServiceModel.DomainServices.Client(在 system.servicemodel.domainservices.client.dll 中)
用法
用法
Dim instance As EntitySet(Of TEntity)
Dim handler As EventHandler(Of EntityCollectionChangedEventArgs(Of TEntity))
AddHandler instance.EntityRemoved, handler
语法
声明
Public Event EntityRemoved As EventHandler(Of EntityCollectionChangedEventArgs(Of TEntity))
public event EventHandler<EntityCollectionChangedEventArgs<TEntity>> EntityRemoved
public:
event EventHandler<EntityCollectionChangedEventArgs<TEntity>^>^ EntityRemoved {
void add (EventHandler<EntityCollectionChangedEventArgs<TEntity>^>^ value);
void remove (EventHandler<EntityCollectionChangedEventArgs<TEntity>^>^ value);
}
/** @event */
public void add_EntityRemoved (EventHandler<EntityCollectionChangedEventArgs<TEntity>> value)
/** @event */
public void remove_EntityRemoved (EventHandler<EntityCollectionChangedEventArgs<TEntity>> value)
平台
开发平台
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000
目标平台
另请参见
参考
EntitySet 泛型类
EntitySet 成员
System.ServiceModel.DomainServices.Client 命名空间