Share via


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

The IndexOf method of the HtmlMenuItemCollection class gets the index of the menu item.

Parameters

objItem   Object that contains the menu item.

Return Value

A 32-bit signed integer that represents the index of the menu item.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security