IDataTypeMarshaler Interface

Interface Marshaller / Converter for IDataType Values


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

Syntax

C#

public interface IDataTypeMarshaler

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

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026