IAnyTypeMarshaler.MarshalValueSize(Object, Int32[], Encoding) 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 anyValue,
int[] args,
Encoding? encoding
)

Parameters

anyValue  Object

Any value.

args  Int32[]

The arguments.

encoding  Encoding

The encoding.

Return Value

Int32
The marshal size of the value.

See Also

Reference

IAnyTypeMarshaler Interface MarshalValueSize Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026