Share via


SPMobileFieldValidator.Validate Method

When overridden in a derived class, verifies the value of the field in the UI.

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

Syntax

'Declaration
Public Overridable Sub Validate
'Usage
Dim instance As SPMobileFieldValidator

instance.Validate()
public virtual void Validate()

Implements

IValidator.Validate()

Remarks

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

In SharePoint Foundation there is no default implementation of this method. Implement the needed logic in a derived class.

See Also

Reference

SPMobileFieldValidator Class

SPMobileFieldValidator Members

Microsoft.SharePoint.MobileControls Namespace