Share via


IMenu.FindItem(Int32) Method

Definition

Return the menu item with a particular identifier.

[Android.Runtime.Register("findItem", "(I)Landroid/view/MenuItem;", "GetFindItem_IHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.IMenuItem? FindItem (int id);
[<Android.Runtime.Register("findItem", "(I)Landroid/view/MenuItem;", "GetFindItem_IHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member FindItem : int -> Android.Views.IMenuItem

Parameters

id
Int32

The identifier to find.

Returns

The menu item object, or null if there is no item with this identifier.

Attributes

Remarks

Return the menu item with a particular identifier.

Java documentation for android.view.Menu.findItem(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to