SiteMapNodeCollection Members

Provides a strongly typed collection for SiteMapNode objects and implements the IHierarchicalEnumerable interface to support navigating through the collection.

The following tables list the members exposed by the SiteMapNodeCollection type.

  Name Description
Public method SiteMapNodeCollection Overloaded. Initializes a new instance of the SiteMapNodeCollection class.
Top

  Name Description
Public property Count Gets the number of elements contained in the collection.
Public property IsFixedSize Gets a Boolean value indicating whether nodes can be added to or subtracted from the collection.
Public property IsReadOnly Gets a Boolean value indicating whether the collection is read-only.
Public property IsSynchronized Gets a Boolean value indicating whether access to the collection is synchronized (thread safe).
Public property Item Gets or sets the SiteMapNode object at the specified index in the collection.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.
Top

(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.
Explicit interface implementation Property System.Collections.ICollection.Count Gets the number of elements that are contained in the ICollection interface. This class cannot be inherited.
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized Gets a Boolean value indicating whether access to the ICollection interface is synchronized (thread safe). This class cannot be inherited.
Explicit interface implementation Property System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection interface. This class cannot be inherited.
Explicit interface implementation Property System.Collections.IList.IsFixedSize Gets a Boolean value indicating whether the collection has a fixed size. For a description of this member, see IList.IsFixedSize.
Explicit interface implementation Property System.Collections.IList.IsReadOnly Gets a Boolean value indicating whether the collection is read-only. For a description of this member, see IList.IsReadOnly.
Explicit interface implementation Property System.Collections.IList.Item Gets the IList element at the specified index.
Top

Community Additions

ADD
Show: