Share via


WebPartGalleryPicker constructor

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Functionality has been superceded by the WebPartAdder class.")> _
Public Sub New ( _
    groups As String(), _
    showListsAndLibraries As Boolean, _
    zoneName As String _
)
'Usage
Dim groups As String()
Dim showListsAndLibraries As Boolean
Dim zoneName As String

Dim instance As New WebPartGalleryPicker(groups, _
    showListsAndLibraries, zoneName)
[ObsoleteAttribute("Functionality has been superceded by the WebPartAdder class.")]
public WebPartGalleryPicker(
    string[] groups,
    bool showListsAndLibraries,
    string zoneName
)

Parameters

  • groups
    Type: []

See also

Reference

WebPartGalleryPicker class

WebPartGalleryPicker members

Microsoft.SharePoint.WebControls namespace