QuickOPC User's Guide and Reference
EnumerationData Constructor(EnumerationDataType,Int64)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > EnumerationData Class > EnumerationData Constructor : EnumerationData Constructor(EnumerationDataType,Int64)
The associated enumeration data type.
The current enumeration value.
Initializes a new instance of the class. Initializes a new instance of the class with given data type and value.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataType As EnumerationDataType, _
   ByVal value As Long _
)
'Usage
 
Dim dataType As EnumerationDataType
Dim value As Long
 
Dim instance As New EnumerationData(dataType, value)
public EnumerationData( 
   EnumerationDataType dataType,
   long value
)
public:
EnumerationData( 
   EnumerationDataType^ dataType,
   int64 value
)

Parameters

dataType
The associated enumeration data type.
value
The current enumeration 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