OPC Studio User's Guide and Reference
ValueRank Property (UAFieldMetaData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAFieldMetaData Class : ValueRank Property
Indicates whether the data type is an array and how many dimensions the array has.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=5, RefinementRank=0)>
<DefaultValueAttribute(-2)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=105, 
   ShortName="Value Rank")>
Public Property ValueRank As Integer
'Usage
 
Dim instance As UAFieldMetaData
Dim value As Integer
 
instance.ValueRank = value
 
value = instance.ValueRank
[ColumnDisplay(MaximumWidth=5, RefinementRank=0)]
[DefaultValue(-2)]
[Display(AutoGenerateField=true, 
   Order=105, 
   ShortName="Value Rank")]
public int ValueRank {get; set;}
[ColumnDisplay(MaximumWidth=5, RefinementRank=0)]
[DefaultValue(-2)]
[Display(AutoGenerateField=true, 
   Order=105, 
   ShortName="Value Rank")]
public:
property int ValueRank {
   int get();
   void set (    int value);
}
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