对系统枚举值的引用与对系统库中常量和变量的引用遵循相同的规则。不需要限定对系统常量、变量和枚举值的引用,除非名称空间中存在与系统常量、变量或枚举值同名的用户变量。对该名称的非限定引用是以支持用户变量的方式解析的。使用系统库或枚举名以将该引用限定为解析为系统常量、变量或枚举值。
- AlignKind
-
- CallingConventionKind
-
- CaseFormatKind
-
- ColorKind
- black
- blue
- cyan
- defaultColor
- green
- magenta
- red
- yellow
- white
注: 黑色仅对 ConsoleUI 有效。
- DeviceTypeKind
-
- DisplayUseKind
- button
- hyperlink
- input
- output
- secret
- table
- HighlightKind
- blink
- defaultHighlight
- noHighlight
- reverse
- underline
- IndexOrientationKind
-
- IntensityKind
- bold
- defaultHighlight
- dim
- invisible
- normalIntensity
- LineWrapKind
- character
- compressed
- word
- OutlineKind
-
注: sysLib.box 是等同于 [left,right,top,bottom] 的常量。sysLib.noOutline
是表示没有轮廓。
- PfKeyKind
-
- ProtectKind
-
- SelectTypeKind
-
- SignKind
- leading
- none
- parens
- trailing