ProxySiteMapNode.GetNavigationChildren Method (NodeTypes, NodeTypes, OrderingMethod, AutomaticSortingMethod, Boolean, Int32)
Specifies the main entry point to get this PortalSiteMapNode object's child navigation node.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overrides 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 ProxySiteMapNode
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 override SiteMapNodeCollection GetNavigationChildren(
NodeTypes includedTypes,
NodeTypes includedHiddenTypes,
OrderingMethod ordering,
AutomaticSortingMethod method,
bool ascending,
int lcid
)
Parameters
includedTypes
Type: Microsoft.SharePoint.Publishing.NodeTypesA NodeTypes object representing the node types to return.
includedHiddenTypes
Type: Microsoft.SharePoint.Publishing.NodeTypesA NodeTypes object representing the node types to return even if the nodes are hidden.
ordering
Type: Microsoft.SharePoint.Publishing.OrderingMethodAn OrderingMethod enumeration value that specifies the type of ordering to use.
method
Type: Microsoft.SharePoint.Publishing.AutomaticSortingMethodAn AutomaticSortingMethod enumeration value that specifies the type of ordering to use during automatic sorting.
ascending
Type: System.BooleanA Boolean value that specifies whether to return items in ascending order when using automatic sorting.
lcid
Type: System.Int32Specifies the locale ID to use if using automatic sorting.
Return Value
Type: System.Web.SiteMapNodeCollection
See Also
Reference
GetNavigationChildren Overload