WebPartGalleryItemBase 类

提供用于WebPartGalleryItem类的基实现抽象类。

继承层次结构

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

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public MustInherit Class WebPartGalleryItemBase _
    Inherits WebPartGalleryItem
用法
Dim instance As WebPartGalleryItemBase
public abstract class WebPartGalleryItemBase : WebPartGalleryItem

备注

此抽象类简化了实现WebPartGalleryItem通过提供方法实例化 Web 部件 XML (.dwp 或.webpart) 文档中的WebPart控件并获取WebPart超文本标记语言 (HTML) 预览的任务。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

WebPartGalleryItemBase 成员

Microsoft.SharePoint.WebPartPages 命名空间