PageTemplateInstanceGetWebPart Method (Guid, String) |
Returns the web part with specified GUID or ID or null if not found.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
Syntax public WebPartInstance GetWebPart(
Guid webPartGuid,
string webPartControlId
)
Parameters
- webPartGuid
- Type: SystemGuid
Web part GUID - webPartControlId
- Type: SystemString
Web part control ID to retrieve
Return Value
Type:
WebPartInstanceSee Also