IAnyTypeMarshaler.CanMarshal Method (Type, .Int32., Encoding)

Determines whether ADS can marshal the specified managed data type.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

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

Parameters

anyType

Type: System.Type
The Managed data type.

args

Type: .System.Int32.
The arguments.

encoding

Type: System.Text.Encoding
The encoding.

Return Value

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

Reference

IAnyTypeMarshaler Interface

CanMarshal Overload

TwinCAT.TypeSystem Namespace