MenuCommandService.AddVerb(DesignerVerb) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a verb to the verb table of the MenuCommandService.
public:
virtual void AddVerb(System::ComponentModel::Design::DesignerVerb ^ verb);
public virtual void AddVerb (System.ComponentModel.Design.DesignerVerb verb);
abstract member AddVerb : System.ComponentModel.Design.DesignerVerb -> unit
override this.AddVerb : System.ComponentModel.Design.DesignerVerb -> unit
Public Overridable Sub AddVerb (verb As DesignerVerb)
Parameters
- verb
- DesignerVerb
The DesignerVerb to add.
Implements
Exceptions
verb
is null
.
Remarks
This verb is available regardless of what designer is currently selected. Unlike menu commands, verbs can define the text that is displayed to the user, but they do not define the placement of the command on the actual menu.
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.