ITypeMarshaler Methods

The ITypeMarshaler type exposes the following members.

Methods

 

Name

Description

ITypeMarshaler Methods 1:

CanMarshal

Determines whether ADS can marshal the specified managed data type.

ITypeMarshaler Methods 2:

CanMarshalValue

Determines whether ADS can marshal the specified value

ITypeMarshaler Methods 3:

Marshal

Marshals the specified value to the specified destination memory / span.

ITypeMarshaler Methods 4:

MarshalSize

Determines the MarshalSize of the given type

ITypeMarshaler Methods 5:

MarshalValueSize

Gets the byte size of the value when marshalled.

ITypeMarshaler Methods 6:

Unmarshal

Unmarshals the specified managed type from memory / span

Reference

ITypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026