Compartilhar via


SPMobileBaseFieldControl.CreateValidators Method

Creates an array of validator controls.

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

Syntax

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

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

Return Value

Type: []
An array of one or more BaseValidator controls that can be used to validate all or parts of the value of the field. The default is a null reference (Nothing in Visual Basic).

Remarks

There is no default implementation of CreateValidators.

See Also

Reference

SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace