Click or drag to resize
KaxSiteMapNodeCollectionAddRange Method
Appends the specified array of KaxSiteMapNode objects to the end of the current KaxSiteMapNodeCollection.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public virtual void AddRange(
	IEnumerable<KaxSiteMapNode> nodes
)

Parameters

nodes
Type: System.Collections.GenericIEnumerableKaxSiteMapNode
The array of KaxSiteMapNode to append to the end of the current KaxSiteMapNodeCollection.
Examples
The following example demonstrates how to use the AddRange method to add multiple nodes in a single step.
KaxSiteMapNode[] nodes = new KaxSiteMapNode[] { new KaxSiteMapNode("First"), new KaxSiteMapNode("Second"), new KaxSiteMapNode("Third") };
KaxSiteMap1.Nodes.AddRange(nodes);
See Also