DimensionAttribute class | QSYS API Reference Guide
A non-RPG class, property or field may be stamped with this attribute to indicate a consumer RPG program to consider it as an array with the specified dimension.
Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll
Inheritance: Object –> Attribute
Constructors
| Name | Description |
|---|---|
| DimensionAttribute(Int32, Int32) | Initializes a DimensionAttribute object. Describes the item as a fixed-size array with the specified dimensions. |
DimensionAttribute(Int32, Int32)
Initializes a DimensionAttribute object. Describes the item as a fixed-size array with the specified dimensions.
DimensionAttribute(Int32, Int32)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| Int32 | dimNumber | The dimension number. |
| Int32 | count | The count of elements in the dimension. |
Properties
| Type | Name | Description |
|---|---|---|
| Int32 | Count | Gets the count of elements in the dimension. |
| Int32 | DimNumber | Gets the dimension number. |