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
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
CurrentLCID
The language ID under which the navigation node is created
int CurrentLCID { get; }
Property Value
Id
The ID of the navigation node
int Id { get; }
Property Value
IsDocLib
Defines if the navigation node refers to a doc lib
bool IsDocLib { get; }
Property Value
IsExternal
Defines if the navigation node links to an external page or stays within SP
bool IsExternal { get; }
Property Value
IsVisible
Defines if the navigation node is visible or not
bool IsVisible { get; set; }
Property Value
ListTemplateType
The list template type of the navigation node
ListTemplateType ListTemplateType { get; }
Property Value
Title
Title of the navigation node
string Title { get; set; }
Property Value
Url
The link that the navigation node is referring to
string Url { get; set; }
Property Value
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
selectorsExpression<Func<INavigationNode, object>>[]
Returns
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
selectorsExpression<Func<INavigationNode, object>>[]