IDataTypeMarshaler Methods

The IDataTypeMarshaler type exposes the following members.

Methods

 

Name

Description

CanMarshal(IDataType, Object)

Determines whether the value can be marshalled to the specified dataType.

CanMarshal(IDataType, Type)

Determines whether this instance can marshal the specified ADS type (and create the managed value type).

Marshal

Marshals the specified value to Memory.

MarshalSize

Marshals the size.

TryGetManagedType

Tries to get the corresponding managed type.

Unmarshal

Unmarshals the specified source memory to a (primitive) data type value.

Reference

IDataTypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026