QuickOPC User's Guide and Reference
SetBinaryBody Method (UAExtensionObject)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAExtensionObject Class : SetBinaryBody Method
Sets the binary body of the extension object.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetBinaryBody( _
   ByRef binaryBody() As Byte _
) 
'Usage
 
Dim instance As UAExtensionObject
Dim binaryBody() As Byte
 
instance.SetBinaryBody(binaryBody)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetBinaryBody( 
   ref byte[] binaryBody
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetBinaryBody( 
   array<byte>^% binaryBody
) 

Parameters

binaryBody
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