company logo

Property :: canUpdateCollection - Can collection be updated

The function returns whether the collection can be updated, i.e. whether instances can be added, renamed or removed or deleted from the collection (true) or not (false).

Returning true implies that collection is accessible (CanAccess()). There are several reasons for denying collection update:

  1. The property handle is opened for read, only
  2. The current application does not have rights for updating the collection (disabled by context)
  3. The property handle is invalid.
Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Property  :: canUpdateCollection (  )