Share via


Contains(Microsoft.SharePoint.Portal.WebControls.HtmlMenuItem) Method

The Contains method of the HtmlMenuItemCollection class determines whether this collection contains a specified menu item.

Parameters

objItem   Object that contains the menu item.

Return Value

true if this collection contains a specified menu item; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security