Table of Contents

Interface INavigationNode

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Represents the Navigation

public interface INavigationNode : IDataModel<INavigationNode>, IDataModelParent, IDataModelWithContext, ISupportModules<INavigationNode>, IDataModelGet<INavigationNode>, IDataModelLoad<INavigationNode>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
Inherited Members
Extension Methods

Properties

All

A special property used to add an asterisk to a $select statement

object All { get; }

Property Value

object

AudienceIds

Define the up to 1O audiences for this navigation node. Note that Web.NavAudienceTargetingEnabled has to be set to true first.

List<Guid> AudienceIds { get; set; }

Property Value

List<Guid>

CurrentLCID

The language ID under which the navigation node is created

int CurrentLCID { get; }

Property Value

int

Id

The ID of the navigation node

int Id { get; }

Property Value

int

IsDocLib

Defines if the navigation node refers to a doc lib

bool IsDocLib { get; }

Property Value

bool

IsExternal

Defines if the navigation node links to an external page or stays within SP

bool IsExternal { get; }

Property Value

bool

IsVisible

Defines if the navigation node is visible or not

bool IsVisible { get; set; }

Property Value

bool

ListTemplateType

The list template type of the navigation node

ListTemplateType ListTemplateType { get; }

Property Value

ListTemplateType

Title

Title of the navigation node

string Title { get; set; }

Property Value

string

Url

The link that the navigation node is referring to

string Url { get; set; }

Property Value

string

Methods

GetChildNodes(params Expression<Func<INavigationNode, object>>[])

Method to obtain all the child nodes of a navigation node

List<INavigationNode> GetChildNodes(params Expression<Func<INavigationNode, object>>[] selectors)

Parameters

selectors Expression<Func<INavigationNode, object>>[]

Returns

List<INavigationNode>

GetChildNodesAsync(params Expression<Func<INavigationNode, object>>[])

Method to obtain all the child nodes of a navigation node

Task<List<INavigationNode>> GetChildNodesAsync(params Expression<Func<INavigationNode, object>>[] selectors)

Parameters

selectors Expression<Func<INavigationNode, object>>[]

Returns

Task<List<INavigationNode>>