System.Web.SiteMapNode.GetAllNodes Method

Retrieves a read-only collection of all System.Web.SiteMapNode objects that are descendants of the calling node, regardless of the degree of separation.

Syntax

public SiteMapNodeCollection GetAllNodes ()

Returns

A read-only System.Web.SiteMapNodeCollection that represents all the descendants of a System.Web.SiteMapNode within the scope of the current provider.

Remarks

This method retrieves immediate child nodes, and all their child nodes, recursively.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0