.NET Windows Forms in a Nutshell

ComboBox.ObjectCollection

System. Windows .Forms (system. windows .forms.dll) class

This class represents the collection of items in a ComboBox .

public class ComboBox.ObjectCollection : IList, ICollection, IEnumerable { // Public Constructors public ComboBox.ObjectCollection (ComboBox owner ); // Public Instance Properties public int Count {get; } // implements ICollection public bool IsReadOnly {get; } // implements IList public virtual object this {set; get; } // implements IList // Public Instance Methods public int Add (object item ); // implements IList public void AddRange (object[ ] items ); public void Clear (); // implements IList public bool Contains (object value ); // implements IList public void CopyTo (object[ ] dest , int arrayIndex ); public IEnumerator GetEnumerator (); // implements IEnumerable public int IndexOf (object value ); // implements IList public void Insert (int index , object item ); // implements IList public void Remove (object value ); // implements IList public void RemoveAt (int index ); // implements IList }

Категории