SPMobileDateTimeFieldValidator.Validate Method

Verifies the field in the UI.

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

Syntax

<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Sub Validate

Dim instance As SPMobileDateTimeFieldValidator

instance.Validate()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override void Validate()

Implements

IValidator.Validate()

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

SPMobileDateTimeFieldValidator Members

Microsoft.SharePoint.MobileControls Namespace