SPNavigationNode.ParentId property
Gets an integer identifier of the parent node (Parent) in the hierarchy.
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ParentId As Integer
Get
'Usage
Dim instance As SPNavigationNode
Dim value As Integer
value = instance.ParentId
public int ParentId { get; }
Property value
Type: System.Int32
The Id property of the parent node.
Remarks
This property cannot be directly set but is provided internally. The value returned can be used to retrieve the parent node by calling the SPNavigation.GetNodeById(Int32) method.