Share via


BaseCollection.Insert Method (Int32, Object)

 

Inserts an item into the collection at the specified index.

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

Syntax

protected void Insert(
    int index,
    object item
)
protected:
void Insert(
    int index,
    Object^ item
)
member Insert : 
        index:int *
        item:Object -> unit
Protected Sub Insert (
    index As Integer,
    item As Object
)

Parameters

  • index
    Type: System.Int32

    The zero-based index that specifies where to insert the item.

  • item
    Type: System.Object

    The item to insert into the collection.

See Also

BaseCollection Class
Microsoft.ManagementConsole Namespace

Return to top