go top

read-only property

  • 只读属性

网络释义

  只读属性

同时拥有get和set的属性被称为可读写属性(read-write property),只有get的属性被称为只读属性read-only property),而只有set的属性则被成为只写属性(write-only property)。 一个get访问器就等于是一个返回值是属性类型的无参方法。

基于12个网页-相关网页

短语

Cannot read a write-only property 不能读取只写属性

Property Is read-only 属性是只读的

双语例句

  • The read-only property is then configured to create an instance of the object on first use.

    然后,便会设定这个唯读属性以便第一次使用时建立物件执行个体。

    youdao

  • When created, it will automatically construct the actual proxy, exposing it via a read-only property.

    一旦创建就会自动构建实际代理,然后通过只读属性暴露它。

    youdao

  • To be on the safe side, xiao li will sometimes some files with read-only property, even with implicit attributes.

    为了安全起见,小李有时要将一些档案文件加上只读属性甚至加上隐含属性

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定