8 Standard DataTypes ToC Previous Next

8.6 Argument ToC Previous Next index

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 28.

Table 28 – Argument Definition

Name Type Description
Argument structure  
   name String The name of the argument.
   dataType NodeId The NodeId of the DataType of this argument.
   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.

Previous Next