OPC Studio User's Guide and Reference
UAModel Constructor



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModel Class : UAModel Constructor
The read-only model provider to be used for the model.

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

Creates a new instance of the model, using the specified read-only model provider.
Syntax
'Declaration
 
Public Function New( _
   ByVal readOnlyModelProvider As IUAReadOnlyModelProvider _
)
'Usage
 
Dim readOnlyModelProvider As IUAReadOnlyModelProvider
 
Dim instance As New UAModel(readOnlyModelProvider)

Parameters

readOnlyModelProvider
The read-only model provider to be used for the model.

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

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