Modifier

Partager via


DomainUpDown.DomainUpDownItemCollection.Insert(Int32, Object) Method

Definition

Inserts the specified object into the collection at the specified location.

public:
 override void Insert(int index, System::Object ^ item);
public override void Insert (int index, object item);
override this.Insert : int * obj -> unit
Public Overrides Sub Insert (index As Integer, item As Object)

Parameters

index
Int32

The indexed location within the collection to insert the Object.

item
Object

The Object to insert.

Remarks

You can also add a new Object to the collection by using the Add method.

To remove an Object that you have previously added, use the Remove or RemoveAt methods.

Applies to

See also