MenuItemCollection Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Add(MenuItem^) | Appends the specified MenuItem object to the end of the current MenuItemCollection object. |
![]() | AddAt(Int32, MenuItem^) | Inserts the specified MenuItem object in the current MenuItemCollection object at the specified index location. |
![]() | Clear() | Removes all items from the current MenuItemCollection object. |
![]() | Contains(MenuItem^) | Determines whether the specified MenuItem object is in the collection. |
![]() | CopyTo(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. |
![]() | CopyTo(array<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. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that can be used to iterate through the items in the current MenuItemCollection object. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(MenuItem^) | Determines the index of the specified MenuItem object in the collection. |
![]() | Remove(MenuItem^) | Removes the specified MenuItem object from the MenuItemCollection object. |
![]() | RemoveAt(Int32) | Removes the MenuItem object at the specified index location from the current MenuItemCollection object. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IStateManager::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. |
![]() ![]() | IStateManager::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. |
![]() ![]() | IStateManager::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. |


