QuickOPC User's Guide and Reference
ArrayDimensions Property (UAFieldMetaData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAFieldMetaData Class : ArrayDimensions Property
Specifies the maximum supported length of each dimension.
Syntax
'Declaration
 
<DisplayAttribute(AutoGenerateField=False, 
   Order=106, 
   ShortName="Array Dimensions")>
<NotNullAttribute()>
Public Property ArrayDimensions As Integer()
'Usage
 
Dim instance As UAFieldMetaData
Dim value() As Integer
 
instance.ArrayDimensions = value
 
value = instance.ArrayDimensions
[Display(AutoGenerateField=false, 
   Order=106, 
   ShortName="Array Dimensions")]
[NotNull()]
public int[] ArrayDimensions {get; set;}
[Display(AutoGenerateField=false, 
   Order=106, 
   ShortName="Array Dimensions")]
[NotNull()]
public:
property array<int>^ ArrayDimensions {
   array<int>^ get();
   void set (    array<int>^ value);
}
Remarks

ArrayDimensions are UInt32[] in the OPC UA specification, but in reality, values over System.Int32.MaxValue are unusable.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also