Android.App.Fragment.OnCreateOptionsMenu Method
Initialize the contents of the Activity's standard options menu.

Syntax

[Android.Runtime.Register("onCreateOptionsMenu", "(Landroid/view/Menu;Landroid/view/MenuInflater;)V", "GetOnCreateOptionsMenu_Landroid_view_Menu_Landroid_view_MenuInflater_Handler")]
public virtual void OnCreateOptionsMenu (Android.Views.IMenu menu, Android.Views.MenuInflater inflater)

See Also

Fragment.SetHasOptionsMenu(bool)
Fragment.OnPrepareOptionsMenu(Android.Views.IMenu)
Fragment.OnOptionsItemSelected(Android.Views.IMenuItem)

Parameters

menu
The options menu in which you place your items.
inflater
Documentation for this section has not yet been entered.

Remarks

Initialize the contents of the Activity's standard options menu. You should place your menu items in to menu. For this method to be called, you must have first called Fragment.SetHasOptionsMenu(bool). See Activity.OnCreateOptionsMenu(Android.Views.IMenu) for more information.

[Android Documentation]

Requirements

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