Returns the web part with specified ID or null if not found.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- webPartControlId
- Type: System String
Web part control ID to retrieve
- searchInVariants (Optional)
- Type: System Boolean
Indicates whether to search in the zone variants as well.
Return Value
Type: WebPartInstanceSee Also