SPMobileNoteFieldValidator.Validate Method
Verifies the value of the field in the UI.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Validate
'Usage
Dim instance As SPMobileNoteFieldValidator
instance.Validate()
public override void Validate()
Implements
Remarks
In addition to calling the base method, this override verifies that the value does not exceed 255 when the field is in a document library. If the value is not valid IsValid is set to false and an appropriate message is assigned to ErrorMessage.
Note
This method verifies the value in the UI. The value of the field in the UI will be different from the value of the SPFieldMultiLineText object in the Field property if the user has changed the value and not saved it.
See Also
Reference
SPMobileNoteFieldValidator Class