Inserts a CommandUIItem initialized with specified Command into the CommandUIItemCollection.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Insert( _ ByVal index As Integer, _ ByVal value As Command _ ) |
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.
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