Share via


_CommandBarButton.OnAction Property

Gets or sets the OnAction string.

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

Syntax

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

Property Value

Type: String
The string.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace