Compartilhar via


PublishingWeb.NavigationAutomaticSortingMethod Property

NOTE: This API is now obsolete.

Gets or sets an enumeration value which indicates the sort method to use when automatically sorting navigation items owned by this PublishingWeb object.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use PublishingWeb.Navigation.AutomaticSortingMethod instead.")> _
Public Property NavigationAutomaticSortingMethod As AutomaticSortingMethod
    Get
    Set
'Usage
Dim instance As PublishingWeb
Dim value As AutomaticSortingMethod

value = instance.NavigationAutomaticSortingMethod

instance.NavigationAutomaticSortingMethod = value
[ObsoleteAttribute("Use PublishingWeb.Navigation.AutomaticSortingMethod instead.")]
public AutomaticSortingMethod NavigationAutomaticSortingMethod { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.AutomaticSortingMethod
An AutomaticSortingMethod that represents a specific, automatic sorting method.

Remarks

This property is useful only when the NavigationOrderingMethod uses a type of automatic sorting.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace

PortalSiteMapProvider