New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Telerik.Web.UI.SiteMapLevelSettingCollection

This Class defines the SiteMapLevelSetting Collection that inherits StronglyTypedStateManagedCollection.

Inheritance Hierarchy

  • System.Object
  • System.Web.UI.StateManagedCollection
  • Telerik.Web.StronglyTypedStateManagedCollection`1
  • Telerik.Web.UI.SiteMapLevelSettingCollection

Properties

Item ItemType

ItemType collection indexer.

Methods

Add

Add an item to the collection

Parameters

item ``0`

Item to be added to the collection

Returns

System.Void

AddRange

Adds the items to the end of the collection

Parameters

items System.Collections.Generic.IEnumerable{0}`

Items to be added

Returns

System.Void

Contains

Determines whether an element is in the collection

Parameters

item ``0`

The item to locate in the collection

Returns

System.Boolean true if item is found in the collection; otherwise, false.

CopyTo

Copies the array or portion of it to the collection

Parameters

array ``0`

One-dimensional array that serves as a destination

index System.Int32

Zero-based index

Returns

System.Void

GetLevelSetting

Gets the level setting.

Parameters

level System.Int32

The level.

Returns

Telerik.Web.UI.SiteMapLevelSetting

IndexOf

Returns the zero-based index of the first occurrence of a value in the collection or in a portion of it.

Parameters

item ``0`

Target item

Returns

System.Int32 The zero-based index of the first occurrence of item within the entire collection

Insert

Inserts an element into the collection at the specified index.

Parameters

index System.Int32

The zero-based index at which item should be inserted.

item ``0`

The object to insert.

Returns

System.Void

Remove

Removes the first occurrence of a specific object from the collection.

Parameters

item ``0`

The object to remove from the collection

Returns

System.Void

RemoveAt

Removes the element at the specified index of the collection.

Parameters

index System.Int32

The zero-based index of the element to remove.

Returns

System.Void