SPListItem.Web Property

Gets the Web site that is associated with the list item.

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 SPListItem
Dim value As SPWeb

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

Property Value

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

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace