次の方法で共有


IMenu.Clear Method

Definition

Remove all existing items from the menu, leaving it empty as if it had just been created.

[Android.Runtime.Register("clear", "()V", "GetClearHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Clear : unit -> unit
Attributes

Remarks

Remove all existing items from the menu, leaving it empty as if it had just been created.

Java documentation for android.view.Menu.clear().

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