Inserts a CommandUIItem initialized with a specified Command into the CommandUIItemCollection.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Insert( _ ByVal index As Integer, _ ByVal value As Command, _ ByVal param As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- index
- Index position where the CommandUIItem object is to be inserted.
Index position where the new CommandUIItem is to be inserted. - value
- The Command to be used for the new CommandUIItem item.
The Command to initialize a new CommandUIItem before inserting into the collection. - param
- Command parameters string.
Command parameters string.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family