Android Guides | Samples

Android.Views.IMenu.PerformIdentifierAction Method

Execute the menu item action associated with the given menu identifier.

Syntax

[Android.Runtime.Register("performIdentifierAction", "(II)Z", "GetPerformIdentifierAction_IIHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Boolean PerformIdentifierAction (Int32 id, [Android.Runtime.GeneratedEnum] MenuPerformFlags flags)

Parameters

id
Identifier associated with the menu item.
flags
Additional option flags or 0.

Remarks

Execute the menu item action associated with the given menu identifier.

[Android Documentation]

Requirements

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