Share via


BaseCollection.OnInsert Method (Int32, Object)

 

Performs custom processes before inserting a new element into the collection.

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

Syntax

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

Parameters

  • index
    Type: System.Int32

    The zero-based index at which the item will be inserted.

See Also

BaseCollection Class
Microsoft.ManagementConsole Namespace

Return to top