Android.App.Instrumentation.InvokeMenuActionSync Method
Execute a particular menu item.

Syntax

[Android.Runtime.Register("invokeMenuActionSync", "(Landroid/app/Activity;II)Z", "GetInvokeMenuActionSync_Landroid_app_Activity_IIHandler")]
public virtual bool InvokeMenuActionSync (Activity targetActivity, int id, [Android.Runtime.GeneratedEnum] Android.Views.MenuPerformFlags flag)

Parameters

targetActivity
The activity in question.
id
The identifier associated with the menu item.
flag
Additional flags, if any.

Returns

Documentation for this section has not yet been entered.

Remarks

Execute a particular menu item.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1