MagicCMS Documentation

MagicPost..::..GetAnswersByType Method

Get answers or comments to a posts or messages (MagicPostCollection )

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

Syntax


public MagicPostCollection GetAnswersByType(
	int[] types,
	string order,
	bool inclusive,
	int max,
	bool escludiScaduti
)

Parameters

types
Type: array<Int32>[]()[][]
Types filter (Array of int)
order
Type: String
Order of list (MagicOrdinamento)
inclusive
Type: Boolean
Exclude or include types
max
Type: Int32
Max number of records
escludiScaduti
Type: Boolean
Filter expired records

Return Value

Collection of Answers or Comments (MagicPostCollection)