Share via


MetadataNavigationContext class

Tracks the state of the metadata navigation controls and list view Web Part during an HTTP request.

Inheritance hierarchy

System.Object
  Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext

Namespace:  Microsoft.Office.DocumentManagement.MetadataNavigation
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Class MetadataNavigationContext
'Usage
Dim instance As MetadataNavigationContext
public class MetadataNavigationContext

Remarks

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).

Thread safety

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

See also

Reference

MetadataNavigationContext members

Microsoft.Office.DocumentManagement.MetadataNavigation namespace