Partilhar via


WebPartGalleryPicker.CurrentWeb Property

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 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