DateTimeField.Validate Method (Boolean)

Validates the field value.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub Validate ( _
    validateMemberControl As Boolean _
)
'Usage
Dim instance As DateTimeField
Dim validateMemberControl As Boolean

instance.Validate(validateMemberControl)
public void Validate(
    bool validateMemberControl
)

Parameters

  • validateMemberControl
    Type: System.Boolean

    true if the additional validation on the contained control is called; otherwise, false.

Remarks

Optionally validates the data in the control used by the field.

See Also

Reference

DateTimeField Class

DateTimeField Members

Validate Overload

Microsoft.SharePoint.WebControls Namespace