Share via


BaseCollection.OnRemove Method (Int32, Object)

 

Performs custom processes before an item is removed from the collection.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected override void OnRemove(
    int index,
    object value
)
protected:
virtual void OnRemove(
    int index,
    Object^ value
) override
override OnRemove : 
        index:int *
        value:Object -> unit
Protected Overrides Sub OnRemove (
    index As Integer,
    value As Object
)

Parameters

  • index
    Type: System.Int32

    The zero-based index of the item in the collection.

See Also

BaseCollection Class
Microsoft.ManagementConsole Namespace

Return to top