Condividi tramite


IMenu.RemoveGroup(Int32) Method

Definition

Remove all items in the given group.

[Android.Runtime.Register("removeGroup", "(I)V", "GetRemoveGroup_IHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RemoveGroup (int groupId);
[<Android.Runtime.Register("removeGroup", "(I)V", "GetRemoveGroup_IHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveGroup : int -> unit

Parameters

groupId
Int32

The group to be removed. If there are no items in this group, nothing happens.

Attributes

Remarks

Remove all items in the given group.

Java documentation for android.view.Menu.removeGroup(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