System.Web.SiteMapNodeCollection: Method Members

The methods of System.Web.SiteMapNodeCollection are listed below. For a list of all members, see the SiteMapNodeCollection Members list.

See Also: Inherited members from System.Object

Public Methods

Add(SiteMapNode) : int

Adds a single System.Web.SiteMapNode object to the collection.

AddRange(SiteMapNode[])

Adds an array of type System.Web.SiteMapNode to the collection.

AddRange(SiteMapNodeCollection)

Adds the nodes in the specified System.Web.SiteMapNodeCollection to the current collection.

Clear()

Removes all items from the collection.

Contains(SiteMapNode) : bool

Determines whether the collection contains a specific System.Web.SiteMapNode object.

CopyTo(SiteMapNode[], int)

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

GetDataSourceView(System.Web.UI.WebControls.SiteMapDataSource, string) : System.Web.UI.WebControls.SiteMapDataSourceView

Retrieves the System.Web.UI.WebControls.SiteMapDataSourceView object that is associated with the nodes in the current collection.

GetEnumerator() : IEnumerator

Retrieves a reference to an enumerator object, which is used to iterate over the collection.

GetHierarchicalDataSourceView() : System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView

Retrieves the System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView object that is associated with the nodes in the current collection.

GetHierarchyData(object) : System.Web.UI.IHierarchyData

Returns a hierarchical data item for the specified enumerated item.

IndexOf(SiteMapNode) : int

Searches for the specified System.Web.SiteMapNode object, and then returns the zero-based index of the first occurrence within the entire collection.

Insert(int, SiteMapNode)

Inserts the specified System.Web.SiteMapNode object into the collection at the specified index.

static
ReadOnly(SiteMapNodeCollection) : SiteMapNodeCollection

Returns a read-only collection that contains the nodes in the specified System.Web.SiteMapNodeCollection collection.

Remove(SiteMapNode)

Removes the specified System.Web.SiteMapNode object from the collection.

RemoveAt(int)

Removes the System.Web.SiteMapNode object at the specified index of the collection.

Protected Methods

OnValidate(object)

Performs additional custom processes when validating a value.