Contains(Microsoft.SharePoint.WebPartPages.MenuItem) Method

The Contains method of the MenuItemCollection class determines if the specified MenuItem is a member of the collection.


menuItem The MenuItem object that you are searching for in the collection.

Return Value

true if the MenuItem object is found in the collection; otherwise, false.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security