CommandBarButtonClass.OnAction Property
Gets or sets the OnAction string.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Dichiarazione
Public Overridable Property OnAction As String
Get
Set
'Utilizzo
Dim instance As CommandBarButtonClass
Dim value As String
value = instance.OnAction
instance.OnAction = value
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: System.String
The string.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.