CommandBarComboBoxClass.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
Remarks
This control is not a CommandBarButton, and 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.