UnsecuredLayoutsPageBase.Site Property

Gets a reference to the current site collection.

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

Syntax

'Declaration
Public ReadOnly Property Site As SPSite
    Get
'Usage
Dim instance As UnsecuredLayoutsPageBase
Dim value As SPSite

value = instance.Site
public SPSite Site { get; }

Property Value

Type: Microsoft.SharePoint.SPSite
An SPSite that represents the current site collection.

See Also

Reference

UnsecuredLayoutsPageBase Class

UnsecuredLayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace