MagicCMS Documentation

MagicPostTypeInfoCollection Constructor (Boolean)

Initializes a new instance of the MagicPostTypeInfoCollection class.

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

Syntax


public MagicPostTypeInfoCollection(
	bool onlyActive
)

Parameters

onlyActive
Type: Boolean
if set to true [only active].