Share via


SPWebPartConnectionCollection.Insert Method

Inserts the specified SPWebPartConnection into the SPWebPartConnectionCollection at the specified index.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    value As SPWebPartConnection _
)
'Usage
Dim instance As SPWebPartConnectionCollection
Dim index As Integer
Dim value As SPWebPartConnection

instance.Insert(index, value)
public void Insert(
    int index,
    SPWebPartConnection value
)

Parameters

Remarks

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

See Also

Reference

SPWebPartConnectionCollection Class

SPWebPartConnectionCollection Members

Microsoft.SharePoint.WebPartPages Namespace