Čítať v angličtine

Zdieľať cez


Commands.RemoveCommandBar(Object) Method

Definition

Removes a command bar that was created with the AddCommandBar(String, vsCommandBarType, Object, Int32) method.

C++/CX
public:
 void RemoveCommandBar(Platform::Object ^ CommandBar);

Parameters

CommandBar
Object

Required. The CommandBar object to remove.

Attributes

Remarks

This method fails if the command bar is intrinsic (built-in) to the environment.

The CommandBar object is a member of the Microsoft Office object model.

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022