This documentation is archived and is not being maintained.
SiteMapNodeCollection Members
Visual Studio 2008
Provides a strongly typed collection for SiteMapNode objects and implements the IHierarchicalEnumerable interface to support navigating through the collection.
The SiteMapNodeCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
SiteMapNodeCollection | Overloaded. Initializes a new instance of the SiteMapNodeCollection class. |
| Name | Description | |
|---|---|---|
|
Add | Adds a single SiteMapNode object to the collection. |
|
AddRange | Overloaded. Adds a set of SiteMapNode objects to the collection. |
|
Clear | Removes all items from the collection. |
|
Contains | Determines whether the collection contains a specific SiteMapNode object. |
|
CopyTo | Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetDataSourceView | Retrieves the SiteMapDataSourceView object that is associated with the nodes in the current collection. |
|
GetEnumerator | Retrieves a reference to an enumerator object, which is used to iterate over the collection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetHierarchicalDataSourceView | Retrieves the SiteMapHierarchicalDataSourceView object that is associated with the nodes in the current collection. |
|
GetHierarchyData | Returns a hierarchical data item for the specified enumerated item. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IndexOf | Searches for the specified SiteMapNode object, and then returns the zero-based index of the first occurrence within the entire collection. |
|
Insert | Inserts the specified SiteMapNode object into the collection at the specified index. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnValidate | Performs additional custom processes when validating a value. |
|
ReadOnly | Returns a read-only collection that contains the nodes in the specified SiteMapNodeCollection collection. |
|
Remove | Removes the specified SiteMapNode object from the collection. |
|
RemoveAt | Removes the SiteMapNode object at the specified index of the collection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
Count | Gets the number of elements contained in the collection. |
|
IsFixedSize | Gets a Boolean value indicating whether nodes can be added to or subtracted from the collection. |
|
IsReadOnly | Gets a Boolean value indicating whether the collection is read-only. |
|
IsSynchronized | Gets a Boolean value indicating whether access to the collection is synchronized (thread safe). |
|
Item | Gets or sets the SiteMapNode object at the specified index in the collection. |
|
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
| Name | Description | |
|---|---|---|
|
IList::Add | Infrastructure. Adds an item to the collection in the IList interface. For a description of this member, see IList::Add. |
|
IList::Clear | Infrastructure. Removes all items from the collection in the IList interface. For a description of this member, see IList::Clear. |
|
IList::Contains | Determines whether the collection in the IList interface contains the specified Boolean value. |
|
ICollection::CopyTo | Infrastructure. Copies the elements of the ICollection interface to an array, starting at a particular array index. This class cannot be inherited. |
|
ICollection::Count | Infrastructure. Gets the number of elements that are contained in the ICollection interface. This class cannot be inherited. |
|
IEnumerable::GetEnumerator | Infrastructure. Returns an enumerator that iterates through a collection. For a description of this member, see IEnumerable::GetEnumerator. |
|
IHierarchicalEnumerable::GetHierarchyData | Infrastructure. Returns a hierarchical data item for the specified enumerated item. For a description of this member, see IHierarchicalEnumerable::GetHierarchyData. |
|
IList::IndexOf | Infrastructure. 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. |
|
IList::Insert | Infrastructure. Inserts an item into the collection in the IList interface at the specified index. For a description of this member, see IList::Insert. |
|
IList::IsFixedSize | Infrastructure. Gets a Boolean value indicating whether the collection has a fixed size. For a description of this member, see IList::IsFixedSize. |
|
IList::IsReadOnly | Infrastructure. Gets a Boolean value indicating whether the collection is read-only. For a description of this member, see IList::IsReadOnly. |
|
ICollection::IsSynchronized | Infrastructure. Gets a Boolean value indicating whether access to the ICollection interface is synchronized (thread safe). This class cannot be inherited. |
|
IList::Item | Infrastructure. Gets the IList element at the specified index. |
|
IList::Remove | Infrastructure. Removes the first occurrence of a specified object from the collection in the IList interface. For a description of this member, see IList::Remove. |
|
IList::RemoveAt | Infrastructure. Removes the IList item at the specified index. For a description of this member, see IList::RemoveAt. |
|
ICollection::SyncRoot | Infrastructure. Gets an object that can be used to synchronize access to the ICollection interface. This class cannot be inherited. |
Show: