PortalSiteMapNode.GetNavigationChildren Method (NodeTypes, NodeTypes, OrderingMethod, AutomaticSortingMethod, Boolean, Int32)
Specifies the main entry point to get this PortalSiteMapMode child navigation node.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overridable Function GetNavigationChildren ( _
includedTypes As NodeTypes, _
includedHiddenTypes As NodeTypes, _
ordering As OrderingMethod, _
method As AutomaticSortingMethod, _
ascending As Boolean, _
lcid As Integer _
) As SiteMapNodeCollection
'Usage
Dim instance As PortalSiteMapNode
Dim includedTypes As NodeTypes
Dim includedHiddenTypes As NodeTypes
Dim ordering As OrderingMethod
Dim method As AutomaticSortingMethod
Dim ascending As Boolean
Dim lcid As Integer
Dim returnValue As SiteMapNodeCollection
returnValue = instance.GetNavigationChildren(includedTypes, _
includedHiddenTypes, ordering, method, _
ascending, lcid)
public virtual SiteMapNodeCollection GetNavigationChildren(
NodeTypes includedTypes,
NodeTypes includedHiddenTypes,
OrderingMethod ordering,
AutomaticSortingMethod method,
bool ascending,
int lcid
)
Parameters
includedTypes
Type: Microsoft.SharePoint.Publishing.NodeTypesThe node types to return.
includedHiddenTypes
Type: Microsoft.SharePoint.Publishing.NodeTypesThe node types to return even if the nodes are hidden.
ordering
Type: Microsoft.SharePoint.Publishing.OrderingMethodThe method to use to order the nodes.
method
Type: Microsoft.SharePoint.Publishing.AutomaticSortingMethodThe type to use when sorting automatically.
ascending
Type: System.Booleantrue to sort in ascending order; otherwise, false.
lcid
Type: System.Int32The locale identifier (ID) to use when sorting automatically .
Return Value
Type: System.Web.SiteMapNodeCollection
A NavigationSiteMapNodeCollection object containing this node's child navigation nodes.