Click or drag to resize
CMSWebPartZoneGetWebPart Method
Returns web part with the specified name or null if not found.

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 9.0.0
Syntax
C#
public CMSAbstractWebPart GetWebPart(
	string webPartName
)

Parameters

webPartName
Type: SystemString
Web part name

Return Value

Type: CMSAbstractWebPart
See Also