FieldSpec.SetType Method (Typed) | |
Set a new data type for this field specification and new hyperlabel diagnostics for the data type check.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD SetType(
uType AS USUAL,
oHL AS HyperLabel
) AS VOID
public virtual void SetType(
Usual uType,
[DefaultParameterValueAttribute(null, 0)] HyperLabel oHL
)
Request Example
View SourceParameters
- uType
- Type: Usual
The new data type. It can be specified either as a one-character string or as a constant (See FieldSpec:ValType and FieldSpec:UsualType for valid strings and constants, respectively). If omitted, the current value is not changed. - oHL
- Type: HyperLabel
The hyperlabel that contains the new diagnostics for the data type check (caption, description, and help context). If omitted, the current value is not changed.
Remarks
A field specification's data type is typically set during instantiation, and should not normally be changed later.
See Also