EditTimeMenuItems.Insert
- 更新时间2025-07-21
- 阅读时长1分钟
EditTimeMenuItems.Insert
Syntax
EditTimeMenuItems.Insert( type, index = -1)
Return Value
Purpose
Adds a new item to the collection.
Parameters
type As ToolMenuTypes
[In] Specifies the type of menu item to insert.
index As Long
[In] Specifies the index where the new menu item is inserted. If you pass -1, the new item is inserted at the end of the list.
This parameter has a default value of -1 .