MagicCMS Documentation

MagicPost..::..GetPostByParentType Method

Gets MagicPost filtered by post type of its parents.

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

Syntax


public static MagicPostCollection GetPostByParentType(
	int parentType
)

Parameters

parentType
Type: Int32
Post type of the parent.

Return Value

MagicPostCollection.