DataRepeater.ItemsRemoved Event
Occurs when a DataRepeaterItem is deleted from a DataRepeater control.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'宣言
Public Event ItemsRemoved As DataRepeaterAddRemoveItemsEventHandler
public event DataRepeaterAddRemoveItemsEventHandler ItemsRemoved
public:
event DataRepeaterAddRemoveItemsEventHandler^ ItemsRemoved {
void add (DataRepeaterAddRemoveItemsEventHandler^ value);
void remove (DataRepeaterAddRemoveItemsEventHandler^ value);
}
member ItemsRemoved : IEvent<DataRepeaterAddRemoveItemsEventHandler,
DataRepeaterAddRemoveItemsEventArgs>
JScript does not support events.
Remarks
When items are deleted from a DataRepeater control, the index numbers of subsequent items are changed to compensate.
In virtual mode, this event can be used to delete records from your data store.
For more information about how to handle events, see Consuming Events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace