Partager via


SPNavigationNode.ParentId - Propriété

Obtient un identificateur entier du nœud parent (Parent) dans la hiérarchie.

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

Syntaxe

'Déclaration
Public ReadOnly Property ParentId As Integer
    Get
'Utilisation
Dim instance As SPNavigationNode
Dim value As Integer

value = instance.ParentId
public int ParentId { get; }

Valeur de propriété

Type : System.Int32
La propriété Id du noeud parent.

Remarques

Cette propriété ne peut pas être définie directement mais est fournie en interne. La valeur retournée peut être utilisée pour récupérer le nœud parent en appelant la méthode SPNavigation.GetNodeById(Int32) .

Voir aussi

Référence

SPNavigationNode classe

SPNavigationNode - Membres

Microsoft.SharePoint.Navigation - Espace de noms

Parent