ReferenceList.Add(Object) Método

Definição

Adiciona um objeto DataReference ou KeyReference à coleção ReferenceList.Adds a DataReference or KeyReference object to the ReferenceList collection.

public:
 virtual int Add(System::Object ^ value);
public int Add (object value);
abstract member Add : obj -> int
override this.Add : obj -> int
Public Function Add (value As Object) As Integer

Parâmetros

value
Object

Um objeto DataReference ou KeyReference a ser adicionado à coleção ReferenceList.A DataReference or KeyReference object to add to the ReferenceList collection.

Retornos

Int32

A posição em que o novo elemento foi inserido.The position at which the new element was inserted.

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