Return Value
Object representing new module of article.
Exception | Description |
---|---|
System.InvalidOperationException | Thrown when type of article is incorrect. |
Newly created module is added to ArticleModules as last one. Modification of modules collection assigned to article is done only in project database. Changes are not
visible in system parts database until synchronization of parts is done.
It is not allowed to add modules to article which are not of type: Module
. To check if part has correct type see property ARTICLE_PARTTYPE.