IStringMarshalerMarshal(IStringType, String, SpanByte) Method

Marshals the specified string value.


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

Syntax

C#

int Marshal(
    IStringType type,
    string value,
    Span<byte> destination
)

Parameters

type  IStringType

The string type.

value  String

The string value.

destination  SpanByte

The destination span/memory.

Return Value

Int32
The Number of marshalled bytes.

Reference

IStringMarshaler Interface Marshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026