共用方式為


CommandBarsClass.DisableCustomize Property

Determines whether user customizations have been disabled.

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

Syntax

'宣告
Public Overridable Property DisableCustomize As Boolean
    Get
    Set
'用途
Dim instance As CommandBarsClass
Dim value As Boolean

value = instance.DisableCustomize

instance.DisableCustomize = value
public virtual bool DisableCustomize { get; set; }
public:
virtual property bool DisableCustomize {
    bool get ();
    void set (bool value);
}
abstract DisableCustomize : bool with get, set
override DisableCustomize : bool with get, set
function get DisableCustomize () : boolean
function set DisableCustomize (value : boolean)

Property Value

Type: System.Boolean
true if user customizations have been disabled, otherwise false.

Implements

_CommandBars.DisableCustomize

.NET Framework Security

See Also

Reference

CommandBarsClass Class

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace