SPNavigationNodeCollection.Count property

Gets the number of SPNavigationNode objects in the collection.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPNavigationNodeCollection
Dim value As Integer

value = instance.Count
public override int Count { get; }

Property value

Type: System.Int32
The number of elements in the SPNavigationNodeCollection.

Implements

ICollection.Count

See also

Reference

SPNavigationNodeCollection class

SPNavigationNodeCollection members

Microsoft.SharePoint.Navigation namespace