QuickOPC User's Guide and Reference
SequenceDataType Constructor(Int64,DataType)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > SequenceDataType Class > SequenceDataType Constructor : SequenceDataType Constructor(Int64,DataType)
How many elements the sequence has. Equals to -1 when unknown (e.g. dynamic).
The data type of the elements of the sequence.
Initializes a new instance of the class. Initializes a new instance of the class, with given length and element data type.
Syntax
'Declaration
 
Public Function New( _
   ByVal length As Long, _
   ByVal elementDataType As DataType _
)
'Usage
 
Dim length As Long
Dim elementDataType As DataType
 
Dim instance As New SequenceDataType(length, elementDataType)
public SequenceDataType( 
   long length,
   DataType elementDataType
)
public:
SequenceDataType( 
   int64 length,
   DataType^ elementDataType
)

Parameters

length
How many elements the sequence has. Equals to -1 when unknown (e.g. dynamic).
elementDataType
The data type of the elements of the sequence.
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