IValueMarshaler Methods

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

IValueMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026