ItemFromID(String) Method

The ItemFromID method of the MenuItemCollection class returns a MenuItem in a collection, and all sub-collections with an ID matching the parameter.


menuItemID The unique identifier of the menu item.

Return Value

A MenuItem object with the specified ID. Returns null if a MenuItem does not exist.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security