Android Guides | Samples

Android.Views.IMenu.RemoveItem Method

Remove the item with the given identifier.

Syntax

[Android.Runtime.Register("removeItem", "(I)V", "GetRemoveItem_IHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Void RemoveItem (Int32 id)

Parameters

id
The item to be removed. If there is no item with this identifier, nothing happens.

Remarks

Remove the item with the given identifier.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1