SPNavigation.GetNodeById method

Gets the navigation node (SPNavigationNode) by using an integer identifier.

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

Syntax

'Declaration
Public Function GetNodeById ( _
    id As Integer _
) As SPNavigationNode
'Usage
Dim instance As SPNavigation
Dim id As Integer
Dim returnValue As SPNavigationNode

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

Parameters

  • id
    Type: System.Int32

    Integer representing an identification number for the navigation node.

Return value

Type: Microsoft.SharePoint.Navigation.SPNavigationNode
Returns an SPNavigationNode object.

See also

Reference

SPNavigation class

SPNavigation members

Microsoft.SharePoint.Navigation namespace

Microsoft.SharePoint.Navigation.SPNavigationNode