Partager via


CommandBarButtonClass.State Property

Definition

Gets or sets the state. This property is deprecated.

public:
 virtual property Microsoft::VisualStudio::CommandBars::MsoButtonState State { Microsoft::VisualStudio::CommandBars::MsoButtonState get(); void set(Microsoft::VisualStudio::CommandBars::MsoButtonState value); };
public:
 virtual property Microsoft::VisualStudio::CommandBars::MsoButtonState State { Microsoft::VisualStudio::CommandBars::MsoButtonState get(); void set(Microsoft::VisualStudio::CommandBars::MsoButtonState value); };
[System.Runtime.InteropServices.DispId(1610940424)]
public virtual Microsoft.VisualStudio.CommandBars.MsoButtonState State { [System.Runtime.InteropServices.DispId(1610940424)] get; [System.Runtime.InteropServices.DispId(1610940424)] set; }
[<System.Runtime.InteropServices.DispId(1610940424)>]
[<get: System.Runtime.InteropServices.DispId(1610940424)>]
[<set: System.Runtime.InteropServices.DispId(1610940424)>]
member this.State : Microsoft.VisualStudio.CommandBars.MsoButtonState with get, set
Public Overridable Property State As MsoButtonState

Property Value

The state. This property is deprecated.

Implements

Attributes

Remarks

This property throws a DeprecatedException.

Applies to