SPMobileBaseNumberFieldValidator.Validate Method

Verifies the value of 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 SPMobileBaseNumberFieldValidator

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

Implements

IValidator.Validate()

Remarks

This override calls ValidateNumber.

Note

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.

Notes to Inheritors

Override this method only to add custom validation logic before or after a call of the base Validate.

See Also

Reference

SPMobileBaseNumberFieldValidator Class

SPMobileBaseNumberFieldValidator Members

Microsoft.SharePoint.MobileControls Namespace