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 | |
|
|
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).
Reference
TwinCAT.TypeSystem Namespace IGenericTypeMarshaler
Beckhoff Automation GmbH & Co. KG 2001-2026
- ITypeMarshaler.CanMarshal Method (Object)
- ITypeMarshaler.CanMarshal Method (Type)
- IAnyTypeMarshaler.CanMarshal Method (Object, .Int32.)
- IAnyTypeMarshaler.CanMarshal Method (Type, .Int32.)
- ITypeMarshaler.Marshal Method
- ITypeMarshaler.MarshalSize Method
- IAnyTypeMarshaler.MarshalSize Method (Object, .Int32., Encoding)
- ITypeMarshaler.Unmarshal Method
- IAnyTypeMarshaler.Marshal Method (Object, .Int32., Encoding, Span.Byte.)
- IAnyTypeMarshaler.Unmarshal Method (Type, .Int32., ReadOnlySpan.Byte., Encoding, Object.)
- IGenericTypeMarshaler.Unmarshal.T. Method (ReadOnlySpan.Byte., Encoding, T.)
- ITypeMarshaler.CanMarshal Method
- IAnyTypeMarshaler.CanMarshal Method (Type, .Int32., Encoding)
- ITypeMarshaler.CanMarshalValue Method
- IAnyTypeMarshaler.CanMarshalValue Method (Object, .Int32., Encoding)
- ITypeMarshaler.MarshalValueSize Method
- IAnyTypeMarshaler.MarshalValueSize Method (Object, .Int32., Encoding)