IAnyTypeMarshaler Interface
Interface IAnyTypeMarshaler Implements the IGenericTypeMarshaler
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public interface IAnyTypeMarshaler : IGenericTypeMarshaler,
ITypeMarshalerThe IAnyTypeMarshaler type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
The encoding used by this marshaler for String marshalling
|
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether ADS can marshal the specified managed data type.
| |
|
|
Determines whether ADS can marshal the specified managed data type. | |
|
|
Determines whether ADS can marshal the specified value
| |
|
|
Determines whether ADS can marshal the specified managed data type. | |
|
|
Marshals the specified value to the specified destination memory / span.
| |
|
|
Marshals the specified value to the specified destination. | |
|
|
Determines the MarshalSize of the given type
| |
|
|
Gets the byte size of the value when marshalled.
| |
|
|
Gets the byte size of the value when marshalled. | |
|
|
Converts the value to byte array. | |
|
|
Unmarshals the source data to an managed value of the specified type. | |
|
|
Unmarshals the specified managed type from memory / span
| |
|
|
Unmarshal(Type, Int32[], ReadOnlySpan<Byte>, Encoding, Object) |
Unmarshals the source data to an managed value of the specified type. |
|
|
Unmarshals the source data to an managed value of the specified type.
|
Remarks
The IAnyTypeMarshaler supports value marshalling / Unmarshalling with the ADS ANY_TYPE concept, what means that the specified managed type is supported by an arguments metadata array (args parameter).
See Also
Reference
TwinCAT.TypeSystem Namespace IGenericTypeMarshaler
Beckhoff Automation GmbH & Co. KG 2001-2026