Partilhar via


_CommandBarButton.State Property

Definition

Gets or sets the state. This property is deprecated.

public:
 property Microsoft::VisualStudio::CommandBars::MsoButtonState State { Microsoft::VisualStudio::CommandBars::MsoButtonState get(); void set(Microsoft::VisualStudio::CommandBars::MsoButtonState value); };
public:
 property Microsoft::VisualStudio::CommandBars::MsoButtonState State { Microsoft::VisualStudio::CommandBars::MsoButtonState get(); void set(Microsoft::VisualStudio::CommandBars::MsoButtonState value); };
[System.Runtime.InteropServices.DispId(1610940424)]
public 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 Property State As MsoButtonState

Property Value

The state. This property is deprecated.

Attributes

Remarks

This property throws a DeprecatedException.

Applies to