Search Results for

    Show / Hide Table of Contents

    Interface INavigationNodeCollection

    Represents the Navigation

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface INavigationNodeCollection : IDataModelCollection<INavigationNode>, IDataModelParent, IDataModelWithContext, IRequestableCollection, ISupportModules<INavigationNodeCollection>

    Properties

    NavigationType

    This variable will define whether we will be using the top navigation or the quick launch for our API calls

    Declaration
    NavigationType NavigationType { get; }
    Property Value
    NavigationType

    Methods

    Add(NavigationNodeOptions)

    Method to add a Navigation Node

    Declaration
    INavigationNode Add(NavigationNodeOptions navigationNodeOptions)
    Parameters
    NavigationNodeOptions navigationNodeOptions

    The options for the navigation node

    Returns
    INavigationNode

    The navigation node

    AddAsync(NavigationNodeOptions)

    Method to add a Navigation Node

    Declaration
    Task<INavigationNode> AddAsync(NavigationNodeOptions navigationNodeOptions)
    Parameters
    NavigationNodeOptions navigationNodeOptions

    The options for the navigation node

    Returns
    Task<INavigationNode>

    The navigation node

    DeleteAllNodes()

    Method to delete all navigation nodes from a specific navigation type

    Declaration
    void DeleteAllNodes()

    DeleteAllNodesAsync()

    Method to delete all navigation nodes from a specific navigation type

    Declaration
    Task DeleteAllNodesAsync()
    Returns
    Task

    DeleteAllNodesBatch()

    Method to delete all navigation nodes from a specific navigation type in a batch

    Declaration
    void DeleteAllNodesBatch()

    DeleteAllNodesBatch(Batch)

    Method to delete all navigation nodes from a specific navigation type in a batch

    Declaration
    void DeleteAllNodesBatch(Batch batch)
    Parameters
    Batch batch

    The batch to add this reques to

    DeleteAllNodesBatchAsync()

    Method to delete all navigation nodes from a specific navigation type in a batch

    Declaration
    Task DeleteAllNodesBatchAsync()
    Returns
    Task

    DeleteAllNodesBatchAsync(Batch)

    Method to delete all navigation nodes from a specific navigation type in a batch

    Declaration
    Task DeleteAllNodesBatchAsync(Batch batch)
    Parameters
    Batch batch

    The batch to add this reques to

    Returns
    Task

    GetById(Int32, Expression<Func<INavigationNode, Object>>[])

    Method to select a specific Navigation Node

    Declaration
    INavigationNode GetById(int id, params Expression<Func<INavigationNode, object>>[] selectors)
    Parameters
    System.Int32 id

    The Id to search for

    Expression<Func<INavigationNode, System.Object>>[] selectors

    The expressions declaring the fields to select

    Returns
    INavigationNode

    The navigation node, if any

    GetByIdAsync(Int32, Expression<Func<INavigationNode, Object>>[])

    Method to select a specific Navigation Node

    Declaration
    Task<INavigationNode> GetByIdAsync(int id, params Expression<Func<INavigationNode, object>>[] selectors)
    Parameters
    System.Int32 id

    The Id to search for

    Expression<Func<INavigationNode, System.Object>>[] selectors

    The expressions declaring the fields to select

    Returns
    Task<INavigationNode>

    The navigation node, if any

    MoveNodeAfter(INavigationNode, INavigationNode)

    Function to move a node after another navigation node

    Declaration
    void MoveNodeAfter(INavigationNode nodeToMove, INavigationNode nodeToMoveAfter)
    Parameters
    INavigationNode nodeToMove

    INavigationNode nodeToMoveAfter

    MoveNodeAfterAsync(INavigationNode, INavigationNode)

    Function to move a node after another navigation node

    Declaration
    Task MoveNodeAfterAsync(INavigationNode nodeToMove, INavigationNode nodeToMoveAfter)
    Parameters
    INavigationNode nodeToMove

    INavigationNode nodeToMoveAfter

    Returns
    Task

    Extension Methods

    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    QueryableExtensions.AsRequested<TSource>(IDataModelCollection<TSource>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer