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 setting a value in the SPWebPartConnectionCollection instance.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub OnSet ( _
index As Integer, _
oldValue As Object, _
newValue As Object _
)
'Usage
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object
Me.OnSet(index, oldValue, newValue)
protected override void OnSet(
int index,
Object oldValue,
Object newValue
)
Parameters
index
Type: System.Int32The zero-based index at which oldValue can be found.
oldValue
Type: System.ObjectThe value to replace with newValue.
newValue
Type: System.ObjectThe new value of the element at index.
Remarks
This override will throw an InvalidOperationException if the SPWebPartConnectionCollection is read-only. The value will not be set if the collection is read-only.
See Also
Reference
SPWebPartConnectionCollection Class