This documentation is archived and is not being maintained.

SiteMapNodeCollection Methods

(see also Protected Methods )
  Name Description
Public method Add Adds a single SiteMapNode object to the collection.
Public method AddRange Overloaded. Adds a set of SiteMapNode objects to the collection.
Public method Clear Removes all items from the collection.
Public method Contains Determines whether the collection contains a specific SiteMapNode object.
Public method CopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetDataSourceView Retrieves the SiteMapDataSourceView object that is associated with the nodes in the current collection.
Public method GetEnumerator Retrieves a reference to an enumerator object, which is used to iterate over the collection.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetHierarchicalDataSourceView Retrieves the SiteMapHierarchicalDataSourceView object that is associated with the nodes in the current collection.
Public method GetHierarchyData Returns a hierarchical data item for the specified enumerated item.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Searches for the specified SiteMapNode object, and then returns the zero-based index of the first occurrence within the entire collection.
Public method Insert Inserts the specified SiteMapNode object into the collection at the specified index.
Public method Static ReadOnly Returns a read-only collection that contains the nodes in the specified SiteMapNodeCollection collection.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the specified SiteMapNode object from the collection.
Public method RemoveAt Removes the SiteMapNode object at the specified index of the collection.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValidate Performs additional custom processes when validating a value.
Top

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies the elements of the ICollection interface to an array, starting at a particular array index. This class cannot be inherited.
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection. For a description of this member, see IEnumerable.GetEnumerator.
Explicit interface implementation Method System.Collections.IList.Add Adds an item to the collection in the IList interface. For a description of this member, see IList.Add.
Explicit interface implementation Method System.Collections.IList.Clear Removes all items from the collection in the IList interface. For a description of this member, see IList.Clear.
Explicit interface implementation Method System.Collections.IList.Contains Determines whether the collection in the IList interface contains the specified Boolean value.
Explicit interface implementation Method System.Collections.IList.IndexOf Determines the index of the specific item in the collection that is returned by the IList interface. For a description of this member, see IList.IndexOf.
Explicit interface implementation Method System.Collections.IList.Insert Inserts an item into the collection in the IList interface at the specified index. For a description of this member, see IList.Insert.
Explicit interface implementation Method System.Collections.IList.Remove Removes the first occurrence of a specified object from the collection in the IList interface. For a description of this member, see IList.Remove.
Explicit interface implementation Method System.Collections.IList.RemoveAt Removes the IList item at the specified index. For a description of this member, see IList.RemoveAt.
Explicit interface implementation Method System.Web.UI.IHierarchicalEnumerable.GetHierarchyData Returns a hierarchical data item for the specified enumerated item. For a description of this member, see IHierarchicalEnumerable.GetHierarchyData.
Top
Show: