QuickOPC User's Guide and Reference
IsArray Property (VarType)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComInterop Namespace > VarType Class : IsArray Property
Gets a value indicating whether the VarType is an array.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public ReadOnly Property IsArray As Boolean
'Usage
 
Dim instance As VarType
Dim value As Boolean
 
value = instance.IsArray
[DefaultValue(false)]
public bool IsArray {get;}
[DefaultValue(false)]
public:
property bool IsArray {
   bool get();
}
Remarks

There is no standardized way in OPC Classic to pre-obtain array dimensions. You need to read the array or subscribe to it in order to obtain array dimensions.

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