Condividi tramite


WebPartGalleryItemBase Class

Provides an abstract class for the base implementation of the WebPartGalleryItem class.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.WebPartGalleryItem
    Microsoft.SharePoint.WebPartPages.WebPartGalleryItemBase
      Microsoft.SharePoint.WebPartPages.WebPartGalleryXmlItemBase

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public MustInherit Class WebPartGalleryItemBase _
    Inherits WebPartGalleryItem
'Usage
Dim instance As WebPartGalleryItemBase
public abstract class WebPartGalleryItemBase : WebPartGalleryItem

Remarks

This abstract class simplifies the task of implementing a WebPartGalleryItem by providing methods to instantiate WebPart controls from Web Part XML (.dwp or .webpart) documents and to get a Hypertext Markup Language (HTML) preview for a WebPart.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WebPartGalleryItemBase Members

Microsoft.SharePoint.WebPartPages Namespace