PageTemplateInstanceGetWebPart Method (Guid, String) |
Returns the web part with specified GUID or ID or null if not found.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
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