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

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

Windows SharePoint Services 3
Verifies the value of 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 ()

This override calls ValidateNumber.

RemarqueRemarque :

This override verifies the value in the UI. The value of the field in the UI will be different from the value of the SPFieldNumber object in the Field property if the user has changed the value and not saved.

Remarques à l'attention des héritiers : Override this method only to add custom validation logic before or after a call of the base Validate.
Afficher: