Click or drag to resize
WebPartInfoProviderGetWebPartUrl Method (String, Boolean)
Returns URL to specified WebPart.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntax
C#
public static string GetWebPartUrl(
	string codeName,
	bool resolveUrl = true
)

Parameters

codeName
Type: SystemString
Web part code name
resolveUrl (Optional)
Type: SystemBoolean
Resolve the URL

Return Value

Type: String
See Also