Share via


ValidatorAggregator.ControlToValidate property

Gets or sets the control to validate.

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

Syntax

'Declaration
<TypeConverterAttribute(GetType(ValidatedControlConverter))> _
<ThemeableAttribute(False)> _
Public Property ControlToValidate As String
    Get
    Set
'Usage
Dim instance As ValidatorAggregator
Dim value As String

value = instance.ControlToValidate

instance.ControlToValidate = value
[TypeConverterAttribute(typeof(ValidatedControlConverter))]
[ThemeableAttribute(false)]
public string ControlToValidate { get; set; }

Property value

Type: System.String
A string representing the name of the control to validate.

See also

Reference

ValidatorAggregator class

ValidatorAggregator members

Microsoft.SharePoint.Publishing.WebControls namespace