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 Property NavigationShowSiblings As Boolean
Dim instance As PublishingWeb
Dim value As Boolean

value = instance.NavigationShowSiblings

instance.NavigationShowSiblings = value
[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.

See also


PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace