WebPartConnectionCollection.Add(WebPartConnection) Method

Definition

Adds a member to the WebPartConnectionCollection collection.

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

Parameters

value
WebPartConnection

The WebPartConnection to be added to the collection.

Returns

An integer indicating the index where the connection will be added to the collection.

Remarks

Use this method to add a WebPartConnection object to the WebPartConnectionCollection collection. The object is added to the end of the collection. To add an object at a specific location in the collection, use the Insert method.

Applies to