WebPartConnectionCollection.Add(WebPartConnection) Metodo

Definizione

Aggiunge un membro alla WebPartConnectionCollection raccolta.

public:
 int Add(System::Web::UI::WebControls::WebParts::WebPartConnection ^ value);
public int Add(System.Web.UI.WebControls.WebParts.WebPartConnection value);
member this.Add : System.Web.UI.WebControls.WebParts.WebPartConnection -> int
Public Function Add (value As WebPartConnection) As Integer

Parametri

value
WebPartConnection

Oggetto WebPartConnection da aggiungere all'insieme.

Valori restituiti

Intero che indica l'indice in cui verrà aggiunta la connessione all'insieme.

Commenti

Utilizzare questo metodo per aggiungere un WebPartConnection oggetto all'insieme WebPartConnectionCollection . L'oggetto viene aggiunto alla fine dell'insieme. Per aggiungere un oggetto in una posizione specifica nell'insieme, utilizzare il Insert metodo .

Si applica a