共用方式為


IMenuExtensions.Add Method

Definition

Overloads

Add(IMenu, String)
Add(IMenu, Int32, Int32, Int32, String)

Add(IMenu, String)

public static Android.Views.IMenuItem? Add (this Android.Views.IMenu self, string? title);
static member Add : Android.Views.IMenu * string -> Android.Views.IMenuItem

Parameters

self
IMenu
title
String

Returns

Remarks

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

Add(IMenu, Int32, Int32, Int32, String)

public static Android.Views.IMenuItem? Add (this Android.Views.IMenu self, int groupId, int itemId, int order, string? title);
static member Add : Android.Views.IMenu * int * int * int * string -> Android.Views.IMenuItem

Parameters

self
IMenu
groupId
Int32
itemId
Int32
order
Int32
title
String

Returns

Remarks

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