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

NavigationExtensions.UpdateNavigationInheritance Method

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

Updates the navigation inheritance setting

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

Syntax

public static void UpdateNavigationInheritance(this Web web, Boolean inheritNavigation)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

inheritNavigation

  Type: System.Boolean
  boolean indicating if navigation inheritance is needed or not

Return Value

Type: void

See also

© 2018 Microsoft