Search Results for

    Show / Hide Table of Contents

    Class NavigationNodeOptions

    Options to set when creating a new navigation node

    Inheritance
    System.Object
    NavigationNodeOptions
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class NavigationNodeOptions : object

    Properties

    AudienceIds

    Audiences for this navigation item (max 10). Note that Web.NavAudienceTargetingEnabled has to be set to true first.

    Declaration
    public List<Guid> AudienceIds { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.List<Guid>

    ParentNode

    Defines the parent node of the navigation node

    Declaration
    public INavigationNode ParentNode { get; set; }
    Property Value
    INavigationNode

    Title

    Title of the new node (e.g. Home)

    Declaration
    public string Title { get; set; }
    Property Value
    System.String

    Url

    Url of the navigationnode (e.g. https://contoso.sharepoint.com/sites/testsite)

    Declaration
    public string Url { get; set; }
    Property Value
    System.String

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer