Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Used to add, delete, and arrange the menu items that are displayed in a Web Part menu.
The MenuItemCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Capacity | (Inherited from CollectionBase.) |
![]() |
Count | (Inherited from CollectionBase.) |
![]() |
InnerList | (Inherited from CollectionBase.) |
![]() |
Item | Gets the MenuItem at the specified indexed location in the collection. |
![]() |
List | (Inherited from CollectionBase.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds a previously created MenuItem to the end of the current menu. |
![]() |
AddRange | Adds an array of previously created MenuItem objects to the collection. |
![]() |
Clear | (Inherited from CollectionBase.) |
![]() |
Contains | Determines if the specified MenuItem is a member of the collection. |
![]() |
CopyTo | Copies the entire collection into a one-dimensional array starting at the specified index. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Returns an enumerator that can iterate through the collection. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
IndexOf | Retrieves the first index of a specific item in the collection. |
![]() |
Insert | Adds a previously created MenuItem at the specified index within the menu item collection. |
![]() |
ItemFromID | Returns a MenuItem in a collection, and all subcollections with an ID matching the parameter. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnClear | (Inherited from CollectionBase.) |
![]() |
OnClearComplete | (Inherited from CollectionBase.) |
![]() |
OnInsert | (Inherited from CollectionBase.) |
![]() |
OnInsertComplete | (Inherited from CollectionBase.) |
![]() |
OnRemove | (Inherited from CollectionBase.) |
![]() |
OnRemoveComplete | (Inherited from CollectionBase.) |
![]() |
OnSet | (Inherited from CollectionBase.) |
![]() |
OnSetComplete | (Inherited from CollectionBase.) |
![]() |
OnValidate | (Inherited from CollectionBase.) |
![]() |
Remove | Deletes the first instance of the specified MenuItem from the collection. |
![]() |
RemoveAt | (Inherited from CollectionBase.) |
![]() |
Replace | Replaces the first instance of the first MenuItem parameter with the second MenuItem parameter. |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IList.Add | (Inherited from CollectionBase.) |
![]() ![]() |
IList.Contains | (Inherited from CollectionBase.) |
![]() ![]() |
ICollection.CopyTo | (Inherited from CollectionBase.) |
![]() ![]() |
IList.IndexOf | (Inherited from CollectionBase.) |
![]() ![]() |
IList.Insert | (Inherited from CollectionBase.) |
![]() ![]() |
IList.IsFixedSize | (Inherited from CollectionBase.) |
![]() ![]() |
IList.IsReadOnly | (Inherited from CollectionBase.) |
![]() ![]() |
ICollection.IsSynchronized | (Inherited from CollectionBase.) |
![]() ![]() |
IList.Item | (Inherited from CollectionBase.) |
![]() ![]() |
IList.Remove | (Inherited from CollectionBase.) |
![]() ![]() |
ICollection.SyncRoot | (Inherited from CollectionBase.) |
Top