Share via


ValidatorAggregator.AddChildValidator method

Adds a validator to the list of validators.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Protected Sub AddChildValidator ( _
    validator As BaseValidator _
)
'Usage
Dim validator As BaseValidator

Me.AddChildValidator(validator)
protected void AddChildValidator(
    BaseValidator validator
)

Parameters

Remarks

The validator parameter can be of the following types:

See also

Reference

ValidatorAggregator class

ValidatorAggregator members

Microsoft.SharePoint.Publishing.WebControls namespace