WebPartGalleryPicker.CurrentWeb property

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 ReadOnly Property CurrentWeb As SPWeb
    Get
'Usage
Dim instance As WebPartGalleryPicker
Dim value As SPWeb

value = instance.CurrentWeb
[ObsoleteAttribute("Functionality has been superceded by the WebPartAdder class.")]
public SPWeb CurrentWeb { get; }

Property value

Type: Microsoft.SharePoint.SPWeb

See also

Reference

WebPartGalleryPicker class

WebPartGalleryPicker members

Microsoft.SharePoint.WebControls namespace