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.PortalEngine.Web.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
Syntax 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:
ListCMSPagePlaceholderSee Also