Edit

Share via


WebPartConnectionCollection.Insert(Int32, WebPartConnection) Method

Definition

Adds the specified WebPartConnection object to the collection at the specified index location.

public:
 void Insert(int index, System::Web::UI::WebControls::WebParts::WebPartConnection ^ value);
public void Insert (int index, System.Web.UI.WebControls.WebParts.WebPartConnection value);
member this.Insert : int * System.Web.UI.WebControls.WebParts.WebPartConnection -> unit
Public Sub Insert (index As Integer, value As WebPartConnection)

Parameters

index
Int32

The zero-based index location at which to insert the WebPartConnection.

value
WebPartConnection

The WebPartConnection to insert.

Remarks

Use this method to insert the specified WebPartConnection object in the collection at the specified index. As an alternative, you can simply append a WebPartConnection object to the end of the collection using the Add method.

Applies to