IGenericTypeMarshaler Methods

The IGenericTypeMarshaler type exposes the following members.

Methods

 

Name

Description

IGenericTypeMarshaler Methods 1:

CanMarshal

Determines whether ADS can marshal the specified managed data type.
(Inherited from ITypeMarshaler)

IGenericTypeMarshaler Methods 2:

CanMarshalValue

Determines whether ADS can marshal the specified value
(Inherited from ITypeMarshaler)

IGenericTypeMarshaler Methods 3:

Marshal

Marshals the specified value to the specified destination memory / span.
(Inherited from ITypeMarshaler)

IGenericTypeMarshaler Methods 4:

MarshalSize

Determines the MarshalSize of the given type
(Inherited from ITypeMarshaler)

IGenericTypeMarshaler Methods 5:

MarshalValueSize

Gets the byte size of the value when marshalled.
(Inherited from ITypeMarshaler)

IGenericTypeMarshaler Methods 6:

Unmarshal(Type, ReadOnlySpanByte, Encoding, Object)

Unmarshals the specified managed type from memory / span
(Inherited from ITypeMarshaler)

IGenericTypeMarshaler Methods 7:

UnmarshalT(ReadOnlySpanByte, Encoding, T)

Unmarshals the source data to an managed value of the specified type.

Reference

IGenericTypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026