SiteMapNodeCollection.RemoveAt(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the SiteMapNode object at the specified index of the SiteMapNodeCollection collection.
public:
virtual void RemoveAt(int index);
public virtual void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Overridable Sub RemoveAt (index As Integer)
Parameters
- index
- Int32
The zero-based index of the element to remove.
Exceptions
Remarks
You can test whether a SiteMapNodeCollection collection is read-only by checking the IsReadOnly property.
To remove an element from the SiteMapNodeCollection by specifying a SiteMapNode object to remove, use the Remove method.