Udostępnij za pośrednictwem


MenuItemCollection.IndexOf(MenuItem) Method

Definition

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

Returns

Implements

Applies to