Cette documentation est archivée et n’est pas conservée.

SPMobileDateTimeFieldValidator.Validate, méthode (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Verifies the field in the UI.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

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

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.

RemarqueRemarque :

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.

Afficher: