MenuItemCollection Methods

 

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodAdd(MenuItem)

Appends the specified MenuItem object to the end of the current MenuItemCollection object.

System_CAPS_pubmethodAddAt(Int32, MenuItem)

Inserts the specified MenuItem object in the current MenuItemCollection object at the specified index location.

System_CAPS_pubmethodClear()

Removes all items from the current MenuItemCollection object.

System_CAPS_pubmethodContains(MenuItem)

Determines whether the specified MenuItem object is in the collection.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies all the items from the MenuItemCollection object to a compatible one-dimensional Array, starting at the specified index in the target array.

System_CAPS_pubmethodCopyTo(MenuItem[], Int32)

Copies all the items from the MenuItemCollection object to a compatible one-dimensional array of MenuItem objects, starting at the specified index in the target array.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can be used to iterate through the items in the current MenuItemCollection object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(MenuItem)

Determines the index of the specified MenuItem object in the collection.

System_CAPS_pubmethodRemove(MenuItem)

Removes the specified MenuItem object from the MenuItemCollection object.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the MenuItem object at the specified index location from the current MenuItemCollection object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.LoadViewState(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Loads the MenuItemCollection object's previously saved view state.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.SaveViewState()

This API supports the product infrastructure and is not intended to be used directly from your code. Saves the changes to view state to an Object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIStateManager.TrackViewState()

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the MenuItemCollection object to track changes to its view state.

Return to top
Show: