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

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