IValueMarshaler Interface

Interface combines the ISymbolMarshaler and the IDataTypeMarshaler Extends the ISymbolMarshaler Extends the IDataTypeMarshaler


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

Syntax

C#

public interface IValueMarshaler : IDataTypeMarshaler

The IValueMarshaler type exposes the following members.

Methods

 

Name

Description

CanMarshal(IDataType, Object)

Determines whether the value can be marshalled to the specified dataType.
(Inherited from IDataTypeMarshaler)

CanMarshal(IDataType, Type)

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

Marshal

Marshals the specified value to Memory.
(Inherited from IDataTypeMarshaler)

MarshalSize

Marshals the size.
(Inherited from IDataTypeMarshaler)

TryGetManagedType

Tries to get the corresponding managed type.
(Inherited from IDataTypeMarshaler)

Unmarshal

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

Reference

TwinCAT.TypeSystem NamespaceISymbolMarshalerIDataTypeMarshaler

Beckhoff Automation GmbH & Co. KG 2001-2026