Export (0) Print
Expand All

MetadataNavigationSettings.SetMetadataNavigationSettings Method (SPList, MetadataNavigationSettings)

Updates the MetadataNavigationSettings object for a specified SPList object without automatically updating the list indexing.

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

public static void SetMetadataNavigationSettings(
	SPList sourceList,
	MetadataNavigationSettings listNavSettings
)

Parameters

sourceList
Type: Microsoft.SharePoint.SPList

The list to update these settings on.

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

The new settings to update on the list

ExceptionCondition
ArgumentNullException

One of the input parameters is set to a null reference (Nothing in Visual Basic).

Show:
© 2015 Microsoft