MagicCMS Documentation

MagicPostTypeInfo..::..Insert Method

Inserts this instance in the MagicCMS database.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public int Insert()

Return Value

System.Int32. Unique ID of Inserted Post Type Definition

Remarks


Errors are handled by code and stored in MagicLog table.