Menu.FindMergePosition(Int32) Method

Definition

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

protected:
 int FindMergePosition(int mergeOrder);
protected int FindMergePosition (int mergeOrder);
member this.FindMergePosition : int -> int
Protected Function FindMergePosition (mergeOrder As Integer) As Integer

Parameters

mergeOrder
Int32

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

Returns

Int32

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 MenuItem is contained in is merged with another.

Applies to