Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs additional custom processes before inserting a new element into the SPWebPartConnectionCollection instance.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub OnInsert ( _
index As Integer, _
value As Object _
)
'Usage
Dim index As Integer
Dim value As Object
Me.OnInsert(index, value)
protected override void OnInsert(
int index,
Object value
)
Parameters
index
Type: System.Int32The zero-based index at which to insert value.
value
Type: System.ObjectThe new value of the element at index.
Remarks
This override will throw an InvalidOperationException if the SPWebPartConnectionCollection is read-only. The new element will not be inserted if the collection is read-only.
See Also
Reference
SPWebPartConnectionCollection Class