QuickOPC User's Guide and Reference
UAExtensionObject Constructor(UANodeId,Object)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAExtensionObject Class > UAExtensionObject Constructor : UAExtensionObject Constructor(UANodeId,Object)
The data type encoding node ID for the extension object.
The body (embedded object) of the extension object.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataTypeEncodingId As UANodeId, _
   ByVal body As Object _
)
'Usage
 
Dim dataTypeEncodingId As UANodeId
Dim body As Object
 
Dim instance As New UAExtensionObject(dataTypeEncodingId, body)
public UAExtensionObject( 
   UANodeId dataTypeEncodingId,
   object body
)
public:
UAExtensionObject( 
   UANodeId^ dataTypeEncodingId,
   Object^ body
)

Parameters

dataTypeEncodingId
The data type encoding node ID for the extension object.
body
The body (embedded object) of the extension object.
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