ReferenceList.Insert(Int32, Object) Método

Definição

Insere um objeto DataReference ou KeyReference na coleção ReferenceList na posição especificada.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);
abstract member Insert : int * obj -> unit
override this.Insert : int * obj -> unit
Public Sub Insert (index As Integer, value As Object)

Parâmetros

index
Int32

O índice de base zero no qual o value deve ser inserido.The zero-based index at which value should be inserted.

value
Object

Um objeto DataReference ou KeyReference a ser inserido na coleção ReferenceList.A DataReference or KeyReference object to insert into the ReferenceList collection.

Implementações

Exceções

O parâmetro value não é um objeto DataReference.The value parameter is not a DataReference object.

- ou --or- O parâmetro value não é um objeto KeyReference.The value parameter is not a KeyReference object.

O parâmetro value é null.The value parameter is null.

Aplica-se a