WebPartGallerySource.GetItems 方法

当在某个派生类中重写,返回可添加到WebPartAdderWebPartGalleryItem对象。

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

语法

声明
Public MustOverride Function GetItems As WebPartGalleryItem()
用法
Dim instance As WebPartGallerySource
Dim returnValue As WebPartGalleryItem()

returnValue = instance.GetItems()
public abstract WebPartGalleryItem[] GetItems()

返回值

类型:[]
包含项目WebPartGalleryItem对象的数组。

备注

此方法是必须在派生类中实现抽象方法。

另请参阅

引用

WebPartGallerySource 类

WebPartGallerySource 成员

Microsoft.SharePoint.WebPartPages 命名空间