共用方式為


CommandBarButtonClass.State Property

Gets or sets the state. This property is deprecated.

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

Syntax

'宣告
Public Overridable Property State As MsoButtonState
public virtual MsoButtonState State { get; set; }

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoButtonState
The state. This property is deprecated.

Implements

_CommandBarButton.State

Remarks

This property throws a DeprecatedException.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace