CommandBar::Protection Property

 

Gets or sets the protection level of this command bar.

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

[DispIdAttribute(1610874903)]
property MsoBarProtection Protection {
	[DispIdAttribute(1610874903)]
	MsoBarProtection get();
	[DispIdAttribute(1610874903)]
	void set(MsoBarProtection value);
}

Attempting to set this property with any other value will cause an exception to be thrown.

Return to top
Show: