Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The calling signature for the AddSubResource service is virtually identical to the AddSubProperty service and is called the same way. They The key difference is this, if the AddSubProperty service is called using a more than once for the same parent property name and the same sub-property name that already has a value, this value is replaced with  name, the new sub-property value replaces the old one. Whereas with the AddSubResource service, each time it is called a new sub-resource object is added (or appended) to the existing array of sub-resources associated with the parent property. This different is explained in the What is a sub-resource? article.