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