Condividi tramite


SPMobileBaseChoiceField.CreateValidators Method

Creates an array of special purpose validator controls.

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: []
The array of validators.

Remarks

The array includes one or more validators of the following types:

  • A control that verifies that the field has a value when it is required to have one.

  • A control that verifies that the field has a unique value when it is required to have a unique value.

  • A general purpose validator control.

See Also

Reference

SPMobileBaseChoiceField Class

SPMobileBaseChoiceField Members

Microsoft.SharePoint.MobileControls Namespace