Compartilhar via


SiteNavigationSettings.GetSiteNavigationSettings Method

Gets a new SiteNavigationSettings object for a specified site collection.

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

Syntax

'Declaration
Public Shared Function GetSiteNavigationSettings ( _
    site As SPSite _
) As SiteNavigationSettings
'Usage
Dim site As SPSite
Dim returnValue As SiteNavigationSettings

returnValue = SiteNavigationSettings.GetSiteNavigationSettings(site)
public static SiteNavigationSettings GetSiteNavigationSettings(
    SPSite site
)

Parameters

Return Value

Type: Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings
Returns SiteNavigationSettings.

See Also

Reference

SiteNavigationSettings Class

SiteNavigationSettings Members

Microsoft.SharePoint.Publishing.Navigation Namespace