System.Windows.Forms.Menu.FindMergePosition Method

Returns the position at which a menu item should be inserted into the menu.

Syntax

protected int FindMergePosition (int mergeOrder)

Parameters

mergeOrder
The merge order position for the menu item to be merged.

Returns

The position at which a menu item should be inserted into the menu.

Remarks

The merge order of a menu item specifies the relative position that this menu item will assume if the menu structure that the System.Windows.Forms.MenuItem is contained in is merged with another.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0