Compartilhar via


PortalNavigation.OrderingMethod Property

Controls the ordering of navigation items owned by this site.

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

Syntax

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

value = instance.OrderingMethod

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

Property Value

Type: Microsoft.SharePoint.Publishing.OrderingMethod
Returns OrderingMethod.

Remarks

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