Share via


WebPartGallerySourceBase.GetItemsCore method

When overridden in a derived class, returns the WebPartGalleryItem items from this source.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected MustOverride Function GetItemsCore As WebPartGalleryItemBase()
'Usage
Dim returnValue As WebPartGalleryItemBase()

returnValue = Me.GetItemsCore()
protected abstract WebPartGalleryItemBase[] GetItemsCore()

Return value

Type: []
An array that contains the WebPartGalleryItem items.

Remarks

When overriding this method, you do not need to add the items to the cache; this is handled by the GetItems() method.

See also

Reference

WebPartGallerySourceBase class

WebPartGallerySourceBase members

Microsoft.SharePoint.WebPartPages namespace