Редагувати

Поділитися через


Int32Collection.Insert(Int32, Int32) Method

Definition

Inserts an Int32 into a specific location within the collection.

public:
 virtual void Insert(int index, int value);
public void Insert (int index, int value);
abstract member Insert : int * int -> unit
override this.Insert : int * int -> unit
Public Sub Insert (index As Integer, value As Integer)

Parameters

index
Int32

The index position at which the Int32 is inserted.

value
Int32

The Int32 to insert in the collection.

Implements

Exceptions

index is not a valid index in the Int32Collection.

The Int32Collection is read-only.

-or-

The Int32Collection has a fixed size.

Applies to

See also