UnsecuredLayoutsPageBase.AllowNullWeb Property
Gets a value indicating whether the UnsecuredLayoutsPageBase can initialize even if the current Web site is a null reference (Nothing in Visual Basic).
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overridable ReadOnly Property AllowNullWeb As Boolean
Get
'Usage
Dim value As Boolean
value = Me.AllowNullWeb
protected virtual bool AllowNullWeb { get; }
Property Value
Type: System.Boolean
true if the page can initialize even in a context with no Web site; otherwise, false.
Remarks
The default implementation always returns false.
See Also
Reference
UnsecuredLayoutsPageBase Class