共用方式為


Dialog.OnContextItemSelected(IMenuItem) Method

Definition

[Android.Runtime.Register("onContextItemSelected", "(Landroid/view/MenuItem;)Z", "GetOnContextItemSelected_Landroid_view_MenuItem_Handler")]
public virtual bool OnContextItemSelected (Android.Views.IMenuItem item);
[<Android.Runtime.Register("onContextItemSelected", "(Landroid/view/MenuItem;)Z", "GetOnContextItemSelected_Landroid_view_MenuItem_Handler")>]
abstract member OnContextItemSelected : Android.Views.IMenuItem -> bool
override this.OnContextItemSelected : Android.Views.IMenuItem -> bool

Parameters

item
IMenuItem

Returns

Attributes

Remarks

Java documentation for android.app.Dialog.onContextItemSelected(android.view.MenuItem).

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

See also