首页 > def > property 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
property
A property is a symbol associated with an object than can be either read or written.

Each property has a datatype.

Some object properties are read-only.

A property whose name begins with an underscore is automatically hidden by the IDE.

A property is always public.

A property is slower to access than a variable, as reading or writing are done by a function and not a direct memory access. But it provides you full access control.

参见

Property Declaration, Object Model