Click or drag to resize
PortalHelperCollectPlaceholders Method
Returns the hashtable of all the CMSPagePlaceholders within the given control (searches only for the level 0 placeholders, does not search recursively in the placeholders).

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
public static List<CMSPagePlaceholder> CollectPlaceholders(
	Control parent,
	bool collectChild = false
)

Parameters

parent
Type: System.Web.UIControl
Parent control
collectChild (Optional)
Type: SystemBoolean
If true, also child placeholders are collected

Return Value

Type: ListCMSPagePlaceholder
See Also