Table of contents
TOC
Collapse the table of content
Expand the table of content

BrandingExtensions.SetAvailableWebTemplates Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Defines which templates are available for subsite creation

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetAvailableWebTemplates(this Web web, List<WebTemplateEntity> availableTemplates)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to operate against

availableTemplates

  Type: System.Collections.Generic.List<OfficeDevPnP.Core.Entities.WebTemplateEntity>
  List of objects that define the templates that are allowed

Return Value

Type: void

See also

© 2018 Microsoft