Modifica

Condividi tramite


CommandBar.Protection Property

Definition

Returns or sets the way a command bar is protected from user customization.

public:
 property Microsoft::Office::Core::MsoBarProtection Protection { Microsoft::Office::Core::MsoBarProtection get(); void set(Microsoft::Office::Core::MsoBarProtection value); };
public Microsoft.Office.Core.MsoBarProtection Protection { get; set; }
member this.Protection : Microsoft.Office.Core.MsoBarProtection with get, set
Public Property Protection As MsoBarProtection

Property Value

Remarks

Some of the content in this topic may not be applicable to some languages.

Using the constant msoBarNoCustomize prevents users from accessing the Add or Remove Buttons menu (this menu enables users to customize a toolbar).

Applies to