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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _UAExtensionObject Interface : SetBody Method
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
Remarks

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

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