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.PortalControlsAssembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 9.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