MenuItemCollection.IndexOf(MenuItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual int IndexOf(Microsoft::Maui::Controls::MenuItem ^ item);
public int IndexOf (Microsoft.Maui.Controls.MenuItem item);
abstract member IndexOf : Microsoft.Maui.Controls.MenuItem -> int
override this.IndexOf : Microsoft.Maui.Controls.MenuItem -> int
Public Function IndexOf (item As MenuItem) As Integer
Parameters
- item
- MenuItem