In This Topic
Syntax
'Declaration
<SRCategoryAttribute("CatWindowStyle")>
<System.ComponentModel.DefaultValueAttribute("")>
<SRDescriptionAttribute("FormMenuDescr")>
<System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)>
<System.ComponentModel.BrowsableAttribute(False)>
Public Property Menu As System.Windows.Forms.MainMenu
'Usage
Dim instance As LicenseDialog
Dim value As System.Windows.Forms.MainMenu
instance.Menu = value
value = instance.Menu
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("FormMenuDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.MainMenu Menu {get; set;}
public read-write property Menu: System.Windows.Forms.MainMenu;
SRCategoryAttribute("CatWindowStyle")
System.ComponentModel.DefaultValueAttribute("")
SRDescriptionAttribute("FormMenuDescr")
System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)
System.ComponentModel.BrowsableAttribute()
public function get,set Menu : System.Windows.Forms.MainMenu
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("FormMenuDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
[System.ComponentModel.Browsable(false)]
public: __property System.Windows.Forms.MainMenu* get_Menu();
public: __property void set_Menu(
System.Windows.Forms.MainMenu* value
);
[SRCategory("CatWindowStyle")]
[System.ComponentModel.DefaultValue("")]
[SRDescription("FormMenuDescr")]
[System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
[System.ComponentModel.Browsable(false)]
public:
property System.Windows.Forms.MainMenu^ Menu {
System.Windows.Forms.MainMenu^ get();
void set ( System.Windows.Forms.MainMenu^ value);
}
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also