PortalSiteMapNode.GetNavigationChildren - Méthode (NodeTypes, NodeTypes, OrderingMethod, AutomaticSortingMethod, Boolean, Int32)
Spécifie le point d'entrée principal pour obtenir cette PortalSiteMapMode du nœud de navigation enfants.
Espace de noms : Microsoft.SharePoint.Publishing.Navigation
Assembly : Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)
Syntaxe
'Déclaration
Public Overridable Function GetNavigationChildren ( _
includedTypes As NodeTypes, _
includedHiddenTypes As NodeTypes, _
ordering As OrderingMethod, _
method As AutomaticSortingMethod, _
ascending As Boolean, _
lcid As Integer _
) As SiteMapNodeCollection
'Utilisation
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
)
Paramètres
includedTypes
Type : Microsoft.SharePoint.Publishing.NodeTypesLes types de nœuds à retourner.
includedHiddenTypes
Type : Microsoft.SharePoint.Publishing.NodeTypesLes types de nœuds pour renvoyer le même si les nœuds sont masquées.
ordering
Type : Microsoft.SharePoint.Publishing.OrderingMethodLa méthode à utiliser pour commander les nœuds.
method
Type : Microsoft.SharePoint.Publishing.AutomaticSortingMethodLe type à utiliser lors du tri automatique.
ascending
Type : System.Booleantrue de tri dans l'ordre croissant ; dans le cas contraire, false.
lcid
Type : System.Int32L'identificateur de paramètres régionaux (ID) à utiliser lors du tri automatique.
Valeur renvoyée
Type : System.Web.SiteMapNodeCollection
Un objet NavigationSiteMapNodeCollection qui contient les nœuds de navigation enfants de ce nœud.