SPNavigationNode.Parent property

Gets a navigation node object instance (SPNavigationNode) representing the parent node in the hierarchy.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As SPNavigationNode
    Get
'Usage
Dim instance As SPNavigationNode
Dim value As SPNavigationNode

value = instance.Parent
public SPNavigationNode Parent { get; }

Property value

Type: Microsoft.SharePoint.Navigation.SPNavigationNode
The node that is the parent of the current node.

Remarks

This property cannot be directly set, but is provided internally. The current node is contained within the collection returned by the parent node's Children property.

See also

Reference

SPNavigationNode class

SPNavigationNode members

Microsoft.SharePoint.Navigation namespace

Children

ParentId