同时拥有get和set的属性被称为可读写属性(read-write property),只有get的属性被称为只读属性(read-only property),而只有set的属性则被成为只写属性(write-only property)。 一个get访问器就等于是一个返回值是属性类型的无参方法。
基于12个网页-相关网页
The read-only property is then configured to create an instance of the object on first use.
然后,便会设定这个唯读属性以便在第一次使用时建立物件的执行个体。
When created, it will automatically construct the actual proxy, exposing it via a read-only property.
一旦创建,它就会自动构建实际的代理,然后通过只读属性暴露它。
To be on the safe side, xiao li will sometimes some files with read-only property, even with implicit attributes.
为了安全起见,小李有时要将一些档案文件加上只读属性,甚至加上隐含属性。
应用推荐