MagicCMS Documentation

MagicPost..::..GetGrandSons Method (String, Int32)

Gets the grand sons (children of children) of a post.

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

Syntax


public MagicPostCollection GetGrandSons(
	string order,
	int max
)

Parameters

order
Type: String
Order in which the posts are sorted.
max
Type: Int32
Maximum number of posts returned.

Return Value

The Grand Sons (MagicPostCollection).