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
site
Type: Microsoft.SharePoint.SPSiteAn SPSite object representing the site collection.
Return Value
Type: Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings
Returns SiteNavigationSettings.