Compartilhar via


MetadataNavigationSettings.Current Property

Gets the active [MetadataNavigationContext.NavigationSettings] object for the current list, or gets a null reference (Nothing in Visual Basic) if there is no current list.

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As MetadataNavigationSettings
    Get
'Usage
Dim value As MetadataNavigationSettings

value = MetadataNavigationSettings.Current
public static MetadataNavigationSettings Current { get; }

Property Value

Type: Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings
Returns MetadataNavigationSettings.

Exceptions

Exception Condition
NullReferenceException

Thrown if set to a null reference (Nothing in Visual Basic).

See Also

Reference

MetadataNavigationSettings Class

MetadataNavigationSettings Members

Microsoft.Office.DocumentManagement.MetadataNavigation Namespace