Share via


WebPartGalleryItem.Source property

When overridden in a derived class, gets the WebPartGallerySource from which this item was retrieved.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Source As WebPartGallerySource
    Get
'Usage
Dim instance As WebPartGalleryItem
Dim value As WebPartGallerySource

value = instance.Source
public abstract WebPartGallerySource Source { get; }

Property value

Type: Microsoft.SharePoint.WebPartPages.WebPartGallerySource
The WebPartGallerySource from which this item was retrieved.

See also

Reference

WebPartGalleryItem class

WebPartGalleryItem members

Microsoft.SharePoint.WebPartPages namespace