Infosys在阅读器中打开 / AI 翻译

TE2000 | HMI Engineering · 0 次阅读

TcHmiSchemaBuilder.TType.EnumSchema Constructor (IEnumerable.String., String)

Initializes a new instance of the TcHmiSchemaBuilder.TType.EnumSchema class with an enumeration of strings.

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

Syntax

C#

public EnumSchema(
    IEnumerable<string> constants,
    string defaultValue = ""
)

Parameters

constants

Type: System.Collections.Generic.IEnumerable.String.
The constants defined in the current enumeration.

defaultValue (Optional)

Type: System.String
The default value of the current enumeration.