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
- validator
Type: System.Web.UI.WebControls.BaseValidator
A validator derived from BaseValidatorBaseValidator.
Remarks
The validator parameter can be of the following types: