StringConvertMode Enumeration

Enum StringConvertMode

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

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 Namespace

StringMarshaler