Partager via


UnsecuredLayoutsPageBase.Web Property

Gets a reference to the current Web site.

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

Syntax

Public ReadOnly Property Web As SPWeb
    Get

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