SPMobileDateTimeFieldValidator.Validate Method
Verifies the field in the UI.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Validate
'Usage
Dim instance As SPMobileDateTimeFieldValidator
instance.Validate()
public override void Validate()
Implements
Remarks
Among other things, this method verifies that the field has a value if it is required and that it is a valid value for the calendar type of the locale.
Note
This override verifies the value in the UI. The value of the field in the UI is different from the value of the SPFieldDateTime object in the Field property if the user changed the value and has not saved.
See Also
Reference
SPMobileDateTimeFieldValidator Class