This method provides two functions:
1. Check and ensure that the "Module" content item type exists - if not create it
2. add a content item
Namespace: DotNetNuke.Entities.ModulesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
void CreateContentItem( ModuleInfo module ) |
| Visual Basic |
|---|
Sub CreateContentItem ( module As ModuleInfo ) |
Parameters
- module
- Type: DotNetNuke.Entities.Modules..::..ModuleInfo
the module to add a content item for