Share via


BaseCollection.OnItemsRemoved Method (Int32, Object[])

 

Performs custom processes before an array of items is removed from the collection.

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

Syntax

protected virtual void OnItemsRemoved(
    int index,
    object[] items
)
protected:
virtual void OnItemsRemoved(
    int index,
    array<Object^>^ items
)
abstract OnItemsRemoved : 
        index:int *
        items:Object[] -> unit
override OnItemsRemoved : 
        index:int *
        items:Object[] -> unit
Protected Overridable Sub OnItemsRemoved (
    index As Integer,
    items As Object()
)

Parameters

  • index
    Type: System.Int32

    The zero-based index that specifies the beginning of the array in the collection.

  • items
    Type: System.Object[]

    The array of items that will be removed.

See Also

BaseCollection Class
Microsoft.ManagementConsole Namespace

Return to top