UIElementInfoRemoveObjectDependencies Method |
Removes object dependencies. Removes ad-hoc page templates that are used in UIElement.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 12.0.0
Syntax protected override void RemoveObjectDependencies(
bool deleteAll = false,
bool clearHashtables = true
)
Parameters
- deleteAll (Optional)
- Type: SystemBoolean
If false, only required dependencies are deleted, dependencies with default value are replaced with default value and nullable values are replaced with null - clearHashtables (Optional)
- Type: SystemBoolean
If true, hashtables of all objecttypes which were potentially modified are cleared
Remarks UI ad-hoc templates are inside UIElement because they extend it from the page template side of view.
See Also