UnsecuredLayoutsPageBase.Web property

Gets a reference to the current Web site.

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

Syntax

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

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

Property value

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

See also

Reference

UnsecuredLayoutsPageBase class

UnsecuredLayoutsPageBase members

Microsoft.SharePoint.WebControls namespace