ITypeMarshalerMarshalValueSize Method

Gets the byte size of the value when marshalled.


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

Syntax

C#

int MarshalValueSize(
    Object value,
    Encoding encoding
)

Parameters

value  Object

The value.

encoding  Encoding

The encoding.

Return Value

Int32
The marshal size of the value.

Reference

ITypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026