QuickOPC User's Guide and Reference
IsFirstArrayDimension Property (SequenceDataType)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > SequenceDataType Class : IsFirstArrayDimension Property
Determines whether the sequences represents the first dimension of an array.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public Property IsFirstArrayDimension As Boolean
'Usage
 
Dim instance As SequenceDataType
Dim value As Boolean
 
instance.IsFirstArrayDimension = value
 
value = instance.IsFirstArrayDimension
[DefaultValue(true)]
public bool IsFirstArrayDimension {get; set;}
[DefaultValue(true)]
public:
property bool IsFirstArrayDimension {
   bool get();
   void set (    bool value);
}
Remarks

When this property is true, this sequence data type and all its immediately following element sequence data types that have this property set to false define an array (single-dimensional if there is no such element data type, or multi-dimensional otherwise). On the contrary, with an element sequence data type that has this property set to true, an array of arrays (jagged array) is defined.

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