다음을 통해 공유


_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
    Get
    Set
‘사용 방법
Dim instance As _CommandBarButton
Dim value As String

value = instance.OnAction

instance.OnAction = value
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: System.String
The string.

Implements

CommandBarControl.OnAction

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace