Any attempts to update properties result in a ReadOnlyPropertyException.
任何更新属性的企图都会导致抛出ReadOnlyPropertyException异常。
Part 1 showed you how to set up a basic application in which an end user could view properties, and the administrator could add, remove, and update properties.
第 1 部分向您显示了如何安装一个基本的应用程序,在这个应用程序里面,终端用户可以查看属性,并且管理员可以添加、移除和更新属性。
Listing 6 shows how to retrieve the document just created and update some of the properties.
清单6显示了如何检索刚刚创建的文档,以及如何更新某些属性。
应用推荐