OPC Studio User's Guide and Reference
SetBody Method (_UAExtensionObject)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _UAExtensionObject Interface : SetBody Method

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

Sets the binary body of the extension object.
Syntax
'Declaration
 
Sub SetBody( _
   ByVal body As Object _
) 
'Usage
 
Dim instance As _UAExtensionObject
Dim body As Object
 
instance.SetBody(body)
void SetBody( 
   object body
)
void SetBody( 
   Object^ body
) 

Parameters

body

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

Remarks

Intended for certain COM callers. You can simply use the BinaryBody property setter in .NET instead.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

This member is not compatible with VBScript.

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