MagicCMS Documentation

MagicPost..::..Preferred Property

Gets the preferred id list.

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

Syntax


public List<int> Preferred { get; }

Field Value

The preferred id list.

Remarks


Every Post Type marked as "Container" may have a list of preferred children types that are suggested to the editor during back end editing. This list is inherited bay post type definition but, using ExtraInfo2 field you can define a specific list of preferred child for a single post.