Constable Authorization Engine 2.0 BETA

CollectionUpdaterBase.OnSetComplete Method 

[This is preliminary documentation and subject to change.]

Provides a placeholder for derived classes to implement custom logic when an item has been replaced in the associated collection.

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

Parameters

collection
The collection that is associated with this updater.
index
The index of the item that was replaced in the collection.
oldValue
The item that was replaced in the collection.
newValue
The item that replaced the oldValue.

Implements

ICollectionUpdater.OnSetComplete

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