Click or drag to resize

FieldSpec.SetValidation Method (Typed)

X#
Set a new validation rule for this field specification and new hyperlabel diagnostics for the validation rule check.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetValidation(
	cb AS USUAL,
	 oHL AS HyperLabel
) AS VOID
Request Example View Source

Parameters

cb
Type: Usual
The new validation rule. If omitted, the current value is not changed.
oHL
Type: HyperLabel
The hyperlabel that contains the new diagnostics for the validation rule check (caption, description, and help context). If omitted, the current value is not changed.
See Also