MagicCMS Documentation

MagicPost Constructor (MagicPostTypeInfo)

Initializes a new empty instance of the MagicPost class of a chosen type.

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

Syntax


public MagicPost(
	MagicPostTypeInfo postType
)

Parameters

postType
Type: MagicCMS.Core..::..MagicPostTypeInfo
The post type.