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.Modules
Assembly: 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

See Also