CatalogPart.GetAvailableWebPartDescriptions Method ()
Returns a collection of descriptions of the available WebPart controls in a catalog.
Assembly: System.Web (in System.Web.dll)
The WebPartDescription object is a lightweight object that contains essential information about a WebPart control, including its ID, an object reference to the control, and the values of several important properties that are inherited from the base Part class, such as Title and Description.method returns description information for each control in a catalog. A
Themethod improves performance. When a catalog is created, it needs some information about each control it contains, including a title, a description, an icon (if one exists), and an ID. Rather than having to create an instance of each control to get this information, a caller can use the method, which returns only the description information about each control.
Notes to Inheritors:
The CatalogPart controls. This method is called by the zone that contains a CatalogPart control, and by an associated CatalogPartChrome object when the contents of a CatalogZoneBase zone are rendered.method is abstract, so it must be implemented by derived
Available since 2.0