MetadataNavigationContext Class

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)

public class MetadataNavigationContext

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 a null reference (Nothing in Visual Basic).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.