WebPartGalleryPicker Constructor

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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