OPC Studio User's Guide and Reference
SetBinaryBody Method (UAExtensionObject)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAExtensionObject Class : SetBinaryBody Method

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

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

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 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