Partager via


CommandBarButtonClass.OnAction Property

Gets or sets the OnAction string.

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

Syntax

'Declaration
Public Overridable Property OnAction As String
public virtual string OnAction { get; set; }
public:
virtual property String^ OnAction {
    String^ get ();
    void set (String^ value);
}
abstract OnAction : string with get, set 
override OnAction : string with get, set
function get OnAction () : String 
function set OnAction (value : String)

Property Value

Type: String
The string.

Implements

_CommandBarButton.OnAction

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace