Interface IPortable
A contract specifying the ability to import and export the content of a module.
Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke.dll
Syntax
public interface IPortable
Methods
| Improve this Doc View SourceExportModule(Int32)
Exports the content of this module.
Declaration
string ExportModule(int moduleID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | moduleID | The ID of the module to export. |
Returns
| Type | Description |
|---|---|
| System.String | The module's content serialized as a |
ImportModule(Int32, String, String, Int32)
Imports the content of a module.
Declaration
void ImportModule(int moduleID, string content, string version, int userID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | moduleID | The ID of the module into which the content is being imported. |
| System.String | content | The content to import. |
| System.String | version | The version of the module from which the content is coming. |
| System.Int32 | userID | The ID of the user performing the import. |