Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPWeb.AllWebTemplatesAllowed property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public bool AllWebTemplatesAllowed { get; }

Property value

Type: 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.