An enumerated type is one that has valid values limited to a set of constants. For instance, an enumeration may be defined for the colors of a stop light as follows.
枚举类型是一种有效取值仅限于一组常量的类型。
In the context of the IBM Cognos 8 SDK, an enumeration set can be considered as a list of read-only constants.
在IBMCognos8sdk上下文中,枚举集可以被视为一组只读常量。
For example, you can declare an enumeration for a set of integer constants associated with the days of the week, and then use the names of the days rather than their integer values in your code.
例如,您可以宣告列举来当做一组与每周日期关联的整数常数,接著在程序码中使用日期的名称而不是它们的整数值。
Use the constants of this enumeration to set up search preferences for referral chasing.
使用此枚举的常数可建立检索跟踪的搜索首选项。
An enumeration type (also named an enumeration or an enum) provides an efficient way to define a set of named integral constants that may be assigned to a variable.
枚举类型(也称为枚举)为定义一组可以赋给变量的命名整数常量提供了一种有效的方法。
An enumeration type (also named an enumeration or an enum) provides an efficient way to define a set of named integral constants that may be assigned to a variable.
枚举类型(也称为枚举)为定义一组可以赋给变量的命名整数常量提供了一种有效的方法。
应用推荐