MenuItemCollection Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Appends the specified MenuItem object to the end of the current MenuItemCollection object. |
| AddAt | 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 | Determines whether the specified MenuItem object is in the collection. |
| CopyTo | Overloaded. Copies the contents of the current MenuItemCollection object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetEnumerator | Returns an enumerator that can be used to iterate through the items in the current MenuItemCollection object. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IndexOf | Determines the index of the specified MenuItem object in the collection. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Remove | Removes the specified MenuItem object from the MenuItemCollection object. |
| RemoveAt | 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 | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| System.Web.UI.IStateManager.LoadViewState | Loads the MenuItemCollection object's previously saved view state. |
| System.Web.UI.IStateManager.SaveViewState | Saves the changes to view state to an Object. |
| System.Web.UI.IStateManager.TrackViewState | Instructs the MenuItemCollection object to track changes to its view state. |
Community Additions
ADD
Show: