SaveModuleDefinition saves the Module Definition to the database
Namespace: DotNetNuke.Entities.Modules.DefinitionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static int SaveModuleDefinition( ModuleDefinitionInfo moduleDefinition, bool saveChildren, bool clearCache ) |
Visual Basic |
---|
Public Shared Function SaveModuleDefinition ( moduleDefinition As ModuleDefinitionInfo, saveChildren As Boolean, clearCache As Boolean ) As Integer |
Parameters
- moduleDefinition
- Type: DotNetNuke.Entities.Modules.Definitions..::..ModuleDefinitionInfo
The Module Definition to save
- saveChildren
- Type: System..::..Boolean
A flag that determines whether the child objects are also saved
- clearCache
- Type: System..::..Boolean
A flag that determines whether to clear the host cache