SPNavigationNodeCollection.Item property

Gets the SPNavigationNode object at the specified index in the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPNavigationNode
    Get
'Usage
Dim instance As SPNavigationNodeCollection
Dim index As Integer
Dim value As SPNavigationNode

value = instance(index)
public SPNavigationNode this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The index of the object to return.

Property value

Type: Microsoft.SharePoint.Navigation.SPNavigationNode
An SPNavigationNode object that represents an element in the SPNavigationNodeCollection.

See also

Reference

SPNavigationNodeCollection class

SPNavigationNodeCollection members

Microsoft.SharePoint.Navigation namespace

Microsoft.SharePoint.Navigation.SPNavigationNode