This Structured DataType defines a Method input or output argument specification. It is for example used in the input and output argument Properties for Methods. Its elements are described in Table 27.
Table 27 – Argument Definition
Name |
Type |
Description |
Argument |
structure |
|
Name |
String |
The name of the argument. |
DataType |
NodeId |
|
ValueRank |
Int32 |
Indicates whether the Datatype is an array and how many dimensions the array has. It may have the following values: n > 1: the Datatype is an array with the specified number of dimensions. OneDimension (1): The Datatype is an array with one dimension. OneOrMoreDimensions (0): The Datatype is an array with one or more dimensions. Scalar (−1): The Datatype is not an array. Any (−2): The Datatype can be a scalar or an array with any number of dimensions. ScalarOrOneDimension (−3): The Datatype can be a scalar or a one dimensional array. NOTE All DataTypes are considered to be scalar, even if they have array-like semantics like ByteString and String. |
ArrayDimensions |
UInt32[] |
This field specifies the maximum supported length of each dimension. If the maximum is unknown the value shall be 0. The number of elements shall be equal to the value of the valueRank field. This field shall be null if valueRank ≤ 0. The maximum number of elements of an array transferred on the wire is 2147483647 (max Int32). |
Description |
LocalizedText |
A localised description of the argument. |