System.Windows.Forms.Menu.MenuItemCollection.this C# (CSharp) Méthode

this() public méthode

public this ( string key ) : MenuItem
key string
Résultat MenuItem
			public virtual MenuItem this [string key] {
				get {
					if (string.IsNullOrEmpty (key))
						return null;
						
					foreach (MenuItem m in items)
						if (string.Compare (m.Name, key, true) == 0)
							return m;
							
					return null;
				}
			}

Same methods

Menu.MenuItemCollection::this ( int index ) : MenuItem
Menu.MenuItemCollection::this ( int index ) : objectIList.System.Collections