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
index
Type: System.Int32The zero-based index at which to insert the SPWebPartConnection
value
Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnectionThe SPWebPartConnection to insert into the SPWebPartConnectionCollection.
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