共用方式為


SiteNavigationSettingsWriter Class

Provides read/write access to the navigation settings for a specified site collection.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettings
    Microsoft.SharePoint.Publishing.Navigation.SiteNavigationSettingsWriter

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SiteNavigationSettingsWriter _
    Inherits SiteNavigationSettings
'Usage
Dim instance As SiteNavigationSettingsWriter
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SiteNavigationSettingsWriter : SiteNavigationSettings

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SiteNavigationSettingsWriter Members

Microsoft.SharePoint.Publishing.Navigation Namespace