Compartilhar via


SPWebPartConnectionCollection.OnValidate Method

Performs additional custom processes when validating a value.

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

Syntax

'Declaration
Protected Overrides Sub OnValidate ( _
    value As Object _
)
'Usage
Dim value As Object

Me.OnValidate(value)
protected override void OnValidate(
    Object value
)

Parameters

Remarks

This override throws an ArgumentNullException if value is null , or an AgrumentException if value is not a SPWebPartConnection.

See Also

Reference

SPWebPartConnectionCollection Class

SPWebPartConnectionCollection Members

Microsoft.SharePoint.WebPartPages Namespace