OPC Studio User's Guide and Reference
SequenceDataType Constructor(String,DataType,Int64)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > SequenceDataType Class > SequenceDataType Constructor : SequenceDataType Constructor(String,DataType,Int64)
The short descriptive name of the data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

The data type of the elements of the sequence.

The value of this parameter can be null (Nothing in Visual Basic).

How many elements the sequence has. Equals to -1 when unknown (e.g. dynamic).

Valid values of this parameter are in the range from -1 to 9223372036854775807 (Int64.MaxValue).

Initializes a new instance of the class, with given name, element data type, and length.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal elementDataType As DataType, _
   ByVal length As Long _
)
'Usage
 
Dim name As String
Dim elementDataType As DataType
Dim length As Long
 
Dim instance As New SequenceDataType(name, elementDataType, length)
public SequenceDataType( 
   string name,
   DataType elementDataType,
   long length
)
public:
SequenceDataType( 
   String^ name,
   DataType^ elementDataType,
   int64 length
)

Parameters

name
The short descriptive name of the data type.

The value of this parameter cannot be null (Nothing in Visual Basic).

elementDataType
The data type of the elements of the sequence.

The value of this parameter can be null (Nothing in Visual Basic).

length
How many elements the sequence has. Equals to -1 when unknown (e.g. dynamic).

Valid values of this parameter are in the range from -1 to 9223372036854775807 (Int64.MaxValue).

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