IDataTypeMarshalerCanMarshal(IDataType, Object) Method

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


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

Syntax

C#

bool CanMarshal(
    IDataType type,
    Object? value
)

Parameters

type  IDataType

The type.

value  Object

The value.

Return Value

Boolean
true if this instance can marshal the specified value; otherwise, false.

Reference

IDataTypeMarshaler Interface CanMarshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026