IAnyTypeMarshalerToByteArray Method

Converts the value to byte array.


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

byte[] ToByteArray(
    Object value,
    int[] args,
    Encoding? encoding
)

Parameters

value  Object

The value.

args  Int32

The arguments.

encoding  Encoding

The encoding.

Return Value

Byte
System.Byte[].

Reference

IAnyTypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026