Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NavigationShowSiblings property

PublishingWeb.NavigationShowSiblings property

NOTE: This API is now obsolete.

Gets or sets a value that indicates whether this Web site should display siblings of the current Web site in current navigation.

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

[ObsoleteAttribute("Use PublishingWeb.Navigation.ShowSiblings instead.")]
public bool NavigationShowSiblings { get; set; }

Property value

Type: System.Boolean
A Boolean value that represents whether this PublishingWeb should display siblings.
Defaults to true for PublishingWeb objects.
Defaults to false for most other types of Web sites.

Current navigation normally starts at the current Web site, so only this Web site and those items beneath it would be visible. This property forces the starting node up one level so that siblings of the current Web site are available. Any child objects of the sibling nodes are automatically removed.

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

Show:
© 2015 Microsoft