MagicCMS Documentation

MagicPost Constructor (Int32)

Initializes a new instance of the MagicPost class. Fetching it from database.

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

Syntax


public MagicPost(
	int postId
)

Parameters

postId
Type: Int32
The post id.