Partilhar via


ModelingBindingSource.Insert(Int32, Object) Method

Definition

Inserts an item into the list at the specified index.

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

Parameters

index
Int32

The zero-based index at which item should be inserted.

value
Object

The item to insert.

Exceptions

Occurs if the AllowNew flag is set to false.

Applies to