Partager via


SPNavigation.GetNodeById - Méthode

Obtient le nœud de navigation (SPNavigationNode) à l'aide d'un identificateur entier.

Espace de noms :  Microsoft.SharePoint.Navigation
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function GetNodeById ( _
    id As Integer _
) As SPNavigationNode
'Utilisation
Dim instance As SPNavigation
Dim id As Integer
Dim returnValue As SPNavigationNode

returnValue = instance.GetNodeById(id)
public SPNavigationNode GetNodeById(
    int id
)

Paramètres

  • id
    Type : System.Int32

    Entier représentant le numéro d'identification du nœud de navigation.

Valeur renvoyée

Type : Microsoft.SharePoint.Navigation.SPNavigationNode
Renvoie un objet SPNavigationNode .

Voir aussi

Référence

SPNavigation classe

SPNavigation - Membres

Microsoft.SharePoint.Navigation - Espace de noms

Microsoft.SharePoint.Navigation.SPNavigationNode