Share via


SPMemberCollection.Web Property

Gets the Web site to which the collection belongs.

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

SPMemberCollection Class

SPMemberCollection Members

Microsoft.SharePoint Namespace