System.Windows.Forms.Control.ControlCollection.IList C# (CSharp) Method

IList() private method

private IList ( object control ) : int
control object
return int
			int IList.Add (object control)
			{
				if (!(control is Control))
					throw new ArgumentException ("Object of type Control required", "control");
				
				if (control == null)
					throw new ArgumentException ("control", "Cannot add null controls");
				
				this.Add ((Control)control);
				return this.IndexOf ((Control)control);
			}

Same methods

Control.ControlCollection::IList ( object control ) : void