共用方式為


MenuBarItem.IndexOf(IMenuElement) Method

Definition

public:
 virtual int IndexOf(Microsoft::Maui::IMenuElement ^ item);
public int IndexOf (Microsoft.Maui.IMenuElement item);
abstract member IndexOf : Microsoft.Maui.IMenuElement -> int
override this.IndexOf : Microsoft.Maui.IMenuElement -> int
Public Function IndexOf (item As IMenuElement) As Integer

Parameters

Returns

Implements

Applies to