PortalNavigation.AutomaticSortingMethod Property

Controls the property to use when automatically sorting navigation items owned by this site.

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

Syntax

'Declaration
Public Property AutomaticSortingMethod As AutomaticSortingMethod
    Get
    Set
'Usage
Dim instance As PortalNavigation
Dim value As AutomaticSortingMethod

value = instance.AutomaticSortingMethod

instance.AutomaticSortingMethod = value
public AutomaticSortingMethod AutomaticSortingMethod { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.AutomaticSortingMethod
Returns AutomaticSortingMethod.

Remarks

This property is useful only when PortalNavigation.OrderingMethod is set to one of the automatic sorting options.To save changes after setting this property, call the PublishingWeb.Update method.

See Also

Reference

PortalNavigation Class

PortalNavigation Members

Microsoft.SharePoint.Publishing.Navigation Namespace

OrderingMethod