SPWeb.AllWebTemplatesAllowed 属性

Gets a Boolean value that indicates whether the available Web templates that are returned by the GetAvailableWebTemplates method comprise the complete set of templates.

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

语法

声明
Public ReadOnly Property AllWebTemplatesAllowed As Boolean
    Get
用法
Dim instance As SPWeb
Dim value As Boolean

value = instance.AllWebTemplatesAllowed
public bool AllWebTemplatesAllowed { get; }

属性值

类型:System.Boolean
true if all Web templates are available; otherwise, false.

备注

Even if the AllWebTemplatesAllowed property returns true, the set of Web templates is still restricted by the language of the website.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间