Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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.
Remarks
If the control is not a CommandBarButton, this method throws a COMException:"Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))".
.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.