TcHmiSchemaBuilder.TType.ArraySchema Constructor

Initializes a new instance of the TcHmiSchemaBuilder.TType.ArraySchema class.

Namespace:  TcHmiSrv.DynamicSymbols
Assembly:  TcHmiSrvExtNet.DynamicSymbols (in TcHmiSrvExtNet.DynamicSymbols.dll) Version: 2.0.0.0

Syntax

C#

public ArraySchema(
    TType items = null,
    SchemaKey<uint> minItems = default,
    SchemaKey<uint> maxItems = default,
    SchemaKey<bool> uniqueItems = default
)

Parameters

items (Optional)

Type: TType
The items of the current array.

minItems (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.UInt32.
Restricts the length of the array to a value greater than this value.

maxItems (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.UInt32.
Restricts the length of the array to a value less than this value.

uniqueItems (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.Boolean.
If this value is true, it ensures that each of the items in an array is unique.

Reference

TcHmiSchemaBuilder.TType.ArraySchema Class

TcHmiSrv.DynamicSymbols Namespace