Partilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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