SPWebPartConnectionCollection.OnClear Method

Performs additional custom processes when clearing the contents of the SPWebPartConnectionCollection instance.

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

Syntax

'Declaration
Protected Overrides Sub OnClear
'Usage

Me.OnClear()
protected override void OnClear()

Remarks

This override will throw an InvalidOperationException if the SPWebPartConnectionCollection is read-only. The content of the collection will not be cleared if the collection is read-only.

See Also

Reference

SPWebPartConnectionCollection Class

SPWebPartConnectionCollection Members

Microsoft.SharePoint.WebPartPages Namespace