IMenu.RemoveItem(Int32) Method
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.
Remove the item with the given identifier.
[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 (int id);
[<Android.Runtime.Register("removeItem", "(I)V", "GetRemoveItem_IHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveItem : int -> unit
- id
- Int32
The item to be removed. If there is no item with this identifier, nothing happens.
- Attributes
Remove the item with the given identifier.
Java documentation for android.view.Menu.removeItem(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.