TcHmiSchemaBuilder.TType.StringSchema Constructor

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

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

Syntax

C#

public StringSchema(
    SchemaKey<uint> minLength = default,
    SchemaKey<uint> maxLength = default,
    SchemaKey<string> pattern = default,
    SchemaKey<JsonSchemaStringFormat> format = default
)

Parameters

minLength (Optional)

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

maxLength (Optional)

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

pattern (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.String.
Restricts the string to match this regular expression.

format (Optional)

Type: TcHmiSrv.DynamicSymbols.SchemaKey.JsonSchemaStringFormat.
Restricts the string to match a commonly used format.

Reference

TcHmiSchemaBuilder.TType.StringSchema Class

TcHmiSrv.DynamicSymbols Namespace