SymbolLoaderSettings.ExpandArrayValues Property

Gets or sets a value indicating whether the Value Factory automatically expands ArrayValues to its Elements (Default: true)

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

Syntax

C#

public bool ExpandArrayValues { get; set; }

Property Value

Type: Boolean
true if [create array elements]; otherwise, false.

Implements

IValueFactorySettings.ExpandArrayValues

Remarks

Actually, this takes place when DynamicSymbols are created. Array Elements are created on-access to the Array, so that they can be accessed by a JSON Serializer without further expanding. If this property is set to false, then an array element is only created on access!

Reference

SymbolLoaderSettings Class

TwinCAT Namespace