Share via


SPViewStyleCollection.Web property

Gets the parent website of the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Property value

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

See also

Reference

SPViewStyleCollection class

SPViewStyleCollection members

Microsoft.SharePoint namespace