A newer version of this page is available.
Switch to the current version.
MenuItemCollection.Add Method
Name | Parameters | Description |
---|---|---|
Add() | none | Adds a new menu item to the end of the collection and returns the newly created object. |
Add(String) | text | Adds a new item to the collection and specifies the item's display text. |
Add(String, String) | text, name | Adds a new item to the collection and specifies the item's display text and name. |
Add(String, String, String) | text, name, imageUrl | Adds a new menu item to the collection and specifies the item's display text, name and associated image. |
Add(String, String, String, String) | text, name, imageUrl, navigateUrl | Adds a new menu item to the collection and specifies the item's display text, name, associated image and URL. |
Add(String, String, String, String, String) | text, name, imageUrl, navigateUrl, target | Adds a new menu item to the collection and specifies the item's display text, name, associated image and URL as well as the target of the URL content. |
Feedback