Click or drag to resize
WebPartInfoProviderGetWebPartUrl Method (String, Boolean)

Note: This API is now obsolete.

Returns URL to specified WebPart.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 11.0.0
Syntax
C#
[ObsoleteAttribute("Use GetWebPartUrl(WebPartInfo, bool) instead.")]
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