MetadataNavigationContext Class
SharePoint 2010
Tracks the state of the metadata navigation controls and list view Web Part during an HTTP request.
Namespace:
Microsoft.Office.DocumentManagement.MetadataNavigation
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Get using the Current() property. The context SPWeb, SPList, and SPFolder for the metadata navigation controls values will be determined by the SPContext.Current and the current Page controls, or they can be set explicitly using the SetContextLocation. This class cannot be used when the HttpContext is null.