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)
Available in Sandboxed Solutions: No
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