PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / TagDateTimeInputParams Class / CheckValue Method
The control used to enter the value.
The Tag to which the value is to be assigned.
The error message, assigned if the check fails.

In This Topic
    CheckValue Method (TagDateTimeInputParams)
    In This Topic
    Checks the value contained in the control.
    Syntax
    'Declaration
     
    Public Overrides Function CheckValue( _
       ByVal control As Control, _
       ByVal tag As Tag, _
       ByRef errorMessage As String _
    ) As Boolean
    public override bool CheckValue( 
       Control control,
       Tag tag,
       ref string errorMessage
    )

    Parameters

    control
    The control used to enter the value.
    tag
    The Tag to which the value is to be assigned.
    errorMessage
    The error message, assigned if the check fails.

    Return Value

    True if the value falls between the minimum and maximum allowable dates, false otherwise.
    See Also