Android.App.Instrumentation.InvokeContextMenuAction Method
Show the context menu for the currently focused view and executes a particular context menu item.

Syntax

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

Parameters

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

Returns

Documentation for this section has not yet been entered.

Remarks

Show the context menu for the currently focused view and executes a particular context 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