FieldSpec.SetValidation Method (Typed) | |
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.21
Syntax VIRTUAL METHOD SetValidation(
cb AS USUAL,
oHL AS HyperLabel
) AS VOID
public virtual void SetValidation(
Usual cb,
[DefaultParameterValueAttribute(null, 0)] HyperLabel oHL
)
Request Example
View SourceParameters
- 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