Constable Authorization Engine 2.0 BETA

CollectionUpdaterBase.OnRemove Method 

[This is preliminary documentation and subject to change.]

Provides a placeholder for derived classes to implement validation logic when removing an item from the associated collection.

[Visual Basic]
Overridable Public Sub OnRemove( _
   ByVal collection As CollectionBase, _
   ByVal index As Integer, _
   ByVal value As Object _
) _
    Implements ICollectionUpdater.OnRemove
[C#]
public virtual void OnRemove(
   CollectionBase collection,
   int index,
   object value
);

Parameters

collection
The collection that is associated with this updater.
index
The index of the item being removed from the collection.
value
The item being removed from the collection.

Implements

ICollectionUpdater.OnRemove

Remarks

Note Always call this base class method in your derived classes.

Exceptions

Exception Type Condition
ArgumentNullException A a null reference (Nothing in Visual Basic) was passed as the collection argument value.

See Also

CollectionUpdaterBase Class | LaMarvin.ComponentModel Namespace