UnsecuredLayoutsPageBase.Web Property

Gets a reference to the current Web site.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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