SPWebPartCollection.Web Property
NOTE: This API is now obsolete.
Obsolete. Gets the parent Web site of the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public ReadOnly Property Web As SPWeb
Get
'Usage
Dim instance As SPWebPartCollection
Dim value As SPWeb
value = instance.Web
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public SPWeb Web { get; }
Property Value
Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the parent Web site.