共用方式為


_CommandBarButton.OnAction Property

Gets or sets the OnAction string.

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

Syntax

'宣告
Property OnAction As String
string OnAction { get; set; }

Property Value

Type: System.String
The string.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

OnAction Overload

Microsoft.VisualStudio.CommandBars Namespace