Share via


SPMobileBaseTextField.CreateValidators Method

Creates an array of validator controls that include either or both of FieldValidatorControl and RequiredFieldValidatorControl, if they exist.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Function CreateValidators As BaseValidator()
'Usage
Dim returnValue As BaseValidator()

returnValue = Me.CreateValidators()
protected override BaseValidator[] CreateValidators()

Return Value

Type: []
An array of BaseValidators that hold 0, 1, or both, of the validators of the SPMobileBaseTextField.

Remarks

A list validator and a unique field validator are also created.

See Also

Reference

SPMobileBaseTextField Class

SPMobileBaseTextField Members

Microsoft.SharePoint.MobileControls Namespace