Editare

Partajați prin


ReferenceList.Insert(Int32, Object) Method

Definition

Inserts a DataReference or KeyReference object into the ReferenceList collection at the specified position.

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

Parameters

index
Int32

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

value
Object

A DataReference or KeyReference object to insert into the ReferenceList collection.

Implements

Exceptions

The value parameter is not a DataReference object.

-or-

The value parameter is not a KeyReference object.

The value parameter is null.

Applies to