当前位置:网站首页>Parameter keywords final, flags, internal, mapping keywords internal

Parameter keywords final, flags, internal, mapping keywords internal

2022-07-07 13:52:00 User 7741497

Chapter 89 Parameter keyword - Final

Specify whether this parameter is final( Cannot override in subclasses )

usage

To specify parameters as final Final parameters , Please use the following syntax :

Parameter name As parameter_type  [ Final ] = value;

otherwise , Please omit the keyword or put the word before the keyword .

Detailed explanation

Marked as Final Class members of cannot be overridden in subclasses .

Default

If you omit this keyword , Then this parameter is not the final parameter .

Chapter 90 Parameter keyword - Flags

Modify the user interface type of this parameter ( stay Studio in ).

usage

User interface type to modify this parameter ( stay Studio in ), Please use the following syntax :

Parameter name As parameter_type  [ Flags = flags ] = value;

among ,flags Is one of the following values :

  • ENUM- This parameter is determined by Constraint keyword ( Comma separated list ) One of the specified values . The inspector will provide a drop-down list of these values .
  • LIST - The parameter value is a string consisting of a comma separated list of items .

Please note that , Don't use EDITEMPTY and SYS.

Detailed explanation

Modify the user interface type of the parameter ( stay Studio in ).Studio Use this type to provide input validation for parameters in the inspector . Class compiler ignores this keyword .

Default

If you omit this keyword , be Studio Only a single value is allowed for this parameter ( And there is no option drop-down list ).

Chapter 91 Mapping keywords - Internal

Specifies whether this projection definition is internal ( Do not display in class documents ). Please note that , Class documents currently do not display projections at all .

usage

To specify that this projection is internal , Please use the following syntax

Projection projectionname As class [ Internal ];

otherwise , Omit this keyword or put the word Not Put in front of the keyword .

Detailed explanation

Internal class members do not appear in the class document . If you want users to see a class , But don't see all its members , This keyword is very useful .

Please note that , Class documents currently do not display projections at all .

Default

If you omit this keyword , Projection is not internal .

Chapter 92 Mapping keywords - Internal

Specifies whether this projection definition is internal ( Do not display in class documents ). Please note that , Class documents currently do not display projections at all .

usage

To specify that this projection is internal , Please use the following syntax

Projection projectionname As class [ Internal ];

otherwise , Omit this keyword or put the word Not Put in front of the keyword .

Detailed explanation

Internal class members do not appear in the class document . If you want users to see a class , But don't see all its members , This keyword is very useful .

Please note that , Class documents currently do not display projections at all .

Default

If you omit this keyword , Projection is not internal .

原网站

版权声明
本文为[User 7741497]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071146402686.html