Export (0) Print
Expand All

PortalNavigation.IncludeInNavigation method

Explicitly includes a specific subsite or page for display in navigation.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public void IncludeInNavigation(
	bool useGlobal,
	Guid item
)

Parameters

useGlobal
Type: System.Boolean

A Boolean value that controls whether global or current navigation is affected.

item
Type: System.Guid

GUID representing the unique ID of the item to include.

To save changes after setting this property, call the PublishingWeb.Update method.

Show:
© 2015 Microsoft