QuickOPC User's Guide and Reference
OpaqueData Constructor(OpaqueDataType,BitArray)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > OpaqueData Class > OpaqueData Constructor : OpaqueData Constructor(OpaqueDataType,BitArray)
The associated opaque data type.
The current opaque value (a bit array).
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 OpaqueDataType, _
   ByVal value As BitArray _
)
'Usage
 
Dim dataType As OpaqueDataType
Dim value As BitArray
 
Dim instance As New OpaqueData(dataType, value)
public OpaqueData( 
   OpaqueDataType dataType,
   BitArray value
)
public:
OpaqueData( 
   OpaqueDataType^ dataType,
   BitArray^ value
)

Parameters

dataType
The associated opaque data type.
value
The current opaque value (a bit array).
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