WebPartGalleryItemBase Constructor
Initializes a new instance of the WebPartGalleryItemBase class with the specified context information.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Sub New ( _
source As WebPartGallerySource, _
page As Page _
)
'Usage
Dim source As WebPartGallerySource
Dim page As Page
Dim instance As New WebPartGalleryItemBase(source, _
page)
protected WebPartGalleryItemBase(
WebPartGallerySource source,
Page page
)
Parameters
source
Type: Microsoft.SharePoint.WebPartPages.WebPartGallerySourceThe source that created this item.
page
Type: System.Web.UI.PageThe page that is hosting the WebPartAdder.