SPChangeQuery.Navigation Property

Gets or sets a Boolean value that specifies whether navigation changes are included in the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableAttribute]
public bool Navigation { get; set; }

Property Value

Type: System.Boolean
true to include navigation changes; otherwise, false. The default is false.

You can use this property to track changes to navigation on a Web site, including the Quick Launch area and the top navigation bar. To retrieve the changes, call the SPWeb.GetChanges(SPChangeQuery) method, passing a query such as the one shown in the following example.

SPChangeQuery query = new SPChangeQuery(false, false); 

// object type
query.Web = true;

// change type 
query.Navigation = true;
Show: