2014-10-06

if we want to work with the quicklaunch we must first know how to read its nodes:

//constractor for client context
using (ClientContext clientContext = new ClientContext(siteUrl))
{
        using(Web web = clientContext.Web)
        {
              NavigationNodeCollection quickLaunchNodeColl = web.Navigation.QuickLaunch;
            clientContext.Load(quickLaunchNodeColl);
            clientContext.ExecuteQuery();
            foreach (NavigationNode node in quickLaunchNodeColl)
            {
                Console.WriteLine(node.Title); 
            }
      }
}

 

About the author 

Gerardo Nacchia