FieldSpec.SetType Method | |
Set a new data type for this field specification and new hyperlabel diagnostics for the data type check.
Namespace:
VO
Assembly:
VOSystemClasses (in VOSystemClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD SetType(
uType,
oHL
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SetType(
Usual uType = default,
Usual oHL = default
)
Request Example
View SourceParameters
- uType (Optional)
- 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 (Optional)
- Type: Usual
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.
Return Value
Type:
UsualRemarks
A field specification's data type is typically set during instantiation, and should not normally be changed later.
See Also