Lenguaje

IMenu.RemoveItem(Int32) Método

Definición

Quite el elemento con el identificador especificado.

[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

Parámetros

id
Int32

Elemento que se va a quitar. Si no hay ningún elemento con este identificador, no ocurre nada.

Atributos

Comentarios

Quite el elemento con el identificador especificado.

Java documentación para android.view.Menu.removeItem(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a