共用方式為


WebPartGalleryItemBase class

提供抽象類別的WebPartGalleryItem類別的基底實作。

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)

Syntax

'宣告
Public MustInherit Class WebPartGalleryItemBase _
    Inherits WebPartGalleryItem
'用途
Dim instance As WebPartGalleryItemBase
public abstract class WebPartGalleryItemBase : WebPartGalleryItem

備註

這個抽象類別會簡化藉由提供方法來具現化 Web 組件的 XML (.dwp 或.webpart) 文件中的WebPart控制項,並取得WebPart的 「 超文字標記語言 (HTML) 預覽實作WebPartGalleryItem的工作。

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.

請參閱

參照

WebPartGalleryItemBase members

Microsoft.SharePoint.WebPartPages namespace