CommandBarControl.Move(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the specified command bar control to an existing command bar.
public Microsoft.Office.Core.CommandBarControl Move (object Bar, object Before);
abstract member Move : obj * obj -> Microsoft.Office.Core.CommandBarControl
Public Function Move (Optional Bar As Object, Optional Before As Object) As CommandBarControl
Parameters
- Bar
- Object
Optional Object. A CommandBar object that represents the destination command bar for the control. If this argument is omitted, the control is moved to the end of the command bar where the control currently resides.
- Before
- Object
Optional Object. A number that indicates the position for the control. The control is inserted before the control currently occupying this position. If this argument is omitted, the control is inserted on the same command bar.
Returns
Remarks
Some of the content in this topic may not be applicable to some languages.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin