共用方式為


CommandBarButtonClass.OnAction Property

Gets or sets the OnAction string.

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

Syntax

'宣告
Public Overridable Property OnAction As String
public virtual string OnAction { get; set; }

Property Value

Type: System.String
The string.

Implements

_CommandBarButton.OnAction

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace