StringConvertMode Enumeration

Enum StringConvertMode


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

Syntax

C#

public enum StringConvertMode

Members

Member name

Value

Description

FixedLength

0

Fixed Length String

FixedLengthZeroTerminated

1

Fixed Length String that can be terminated with '\0'

ZeroTerminated

2

'\0' terminated dynamic length string

LengthPrefix

3

Length Prefix (number of following bytes as uint 4-Byte)

Remarks

The StringConvertMode is used to specify, how Strings will be marshalled / demarshalled.

Reference

TwinCAT.TypeSystem NamespaceStringMarshaler

Beckhoff Automation GmbH & Co. KG 2001-2026