PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / TagInputParams 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 (TagInputParams)
    In This Topic
    Checks the value contained in the control.
    Syntax
    'Declaration
     
    Public MustOverride Function CheckValue( _
       ByVal control As Control, _
       ByVal tag As Tag, _
       ByRef errorMessage As String _
    ) As Boolean
    public abstract 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 is valid, false otherwise.
    See Also