UnsecuredLayoutsPageBase.AllowNullWeb 属性

获取一个值,该值指示是否可以初始化UnsecuredLayoutsPageBase ,即使当前网站空引用(无 在 Visual Basic 中)。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overridable ReadOnly Property AllowNullWeb As Boolean
    Get
用法
Dim value As Boolean

value = Me.AllowNullWeb
protected virtual bool AllowNullWeb { get; }

属性值

类型:System.Boolean
true如果页面可以初始化即使在无网站 ; 上下文否则为false。

备注

默认实现总是返回false。

另请参阅

引用

UnsecuredLayoutsPageBase 类

UnsecuredLayoutsPageBase 成员

Microsoft.SharePoint.WebControls 命名空间