FieldSpec Constructor (HyperLabel, Usual, DWord, DWord) | |
Construct a field specification.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.19
Syntax CONSTRUCTOR(
oHLName AS HyperLabel,
uType AS USUAL,
uLength AS DWORD,
uDecimals AS DWORD
)
public FieldSpec(
HyperLabel oHLName,
[DefaultParameterValueAttribute(0, 1)] Usual uType,
[DefaultParameterValueAttribute(0, 0)] uint uLength,
[DefaultParameterValueAttribute(0, 0)] uint uDecimals
)
Request Example
View SourceParameters
- oHLName
- Type: HyperLabel
The hyperlabel that contains the field name and other attributes (i.e., caption, description, and help context) to be used to create the new field specification. - uType
- Type: Usual
The data type of the new field specification. 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). - uLength
- Type: DWord
The length of the field. This argument is required for numeric and string data types, but is optional for all others. - uDecimals
- Type: DWord
The number of decimals in the field. This argument is used for numeric data types only. The default is 0.
See Also