Compartilhar via


SPListCollection.Web Property

Gets the parent Web site of the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Web As SPWeb
    Get
'Usage
Dim instance As SPListCollection
Dim value As SPWeb

value = instance.Web
public SPWeb Web { get; }

Property Value

Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the parent Web site.

See Also

Reference

SPListCollection Class

SPListCollection Members

Microsoft.SharePoint Namespace