MenuItemCollection
MenuItemCollection(Menu)
Count
IsReadOnly
this[Int32]
this[String]
Add(MenuItem)
Add(String)
Add(Int32, MenuItem)
Add(String, EventHandler)
Add(String, MenuItem[])
AddRange(MenuItem[])
Clear()
Contains(MenuItem)
ContainsKey(String)
CopyTo(Array, Int32)
Find(String, Boolean)
GetEnumerator()
IndexOf(MenuItem)
IndexOfKey(String)
Remove(MenuItem)
RemoveAt(Int32)
RemoveByKey(String)
net10.0-windows10.0.22621
namespace System.Windows.Forms
{
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[ListBindable(false)]
[Obsolete("`Menu` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `ToolStripDropDown` and `ToolStripDropDownMenu` instead.", false, DiagnosticId = "WFDEV006", UrlFormat = "https://aka.ms/winforms-warnings/{0}")]
[ToolboxItemFilter("System.Windows.Forms")]
public abstract class Menu : Component
{
[Browsable(false)]
[DefaultMember("Item")]
[EditorBrowsable(EditorBrowsableState.Never)]
[ListBindable(false)]
[Obsolete("`Menu` is provided for binary compatibility with .NET Framework and is not intended to be used directly from your code. Use `ToolStripDropDown` and `ToolStripDropDownMenu` instead.", false, DiagnosticId = "WFDEV006", UrlFormat = "https://aka.ms/winforms-warnings/{0}")]
public class MenuItemCollection : ICollection, IEnumerable, IList
{
public virtual bool ContainsKey(string key);
}
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 10.0 |
| .NET Core | 3.0 |
| .NET Framework | 2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net10.0-windows10.0.22621 | |
| Assembly | System.Windows.Forms , Version=10.0.0.0, PublicKeyToken=b77a5c561934e089 |
| Referencing | Your project needs to set |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API