Menu.FindMergePosition(Int32) 方法

定义

返回菜单项应插入菜单的位置。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

参数

mergeOrder
Int32

要合并的菜单项的合并顺序位置。The merge order position for the menu item to be merged.

返回

菜单项应插入菜单的位置。The position at which a menu item should be inserted into the menu.

注解

菜单项的合并顺序指定了如果中包含的MenuItem菜单结构与另一个合并,则该菜单项将采用的相对位置。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.

适用于