SPMobileUrlField.CreateValidators Method
Creates one or more validator objects for the field.
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 validators for the field.
Remarks
This overload calls the base version of the method and then adds a control to the array that, when the field is a required field, verifies that its value is different from the initial value.