IAnyTypeMarshalerCanMarshal(Type, Int32, Encoding) Method

Determines whether ADS can marshal the specified managed data type.


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

Syntax

C#

bool CanMarshal(
    Type anyType,
    int[] args,
    Encoding? encoding
)

Parameters

anyType  Type

The Managed data type.

args  Int32

The arguments.

encoding  Encoding

The encoding.

Return Value

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

Reference

IAnyTypeMarshaler Interface CanMarshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026